Storage attempts to clean up session data when items are dropped: Storage::drop will unset an empty storage array. However, the group will always remain in the storage array even after the last item has been dropped from the group. So the cleanup will not work as expected.
The solution is to make Storage::drop clean up recursively:
- Drop item
- Unset empty groups
- Unset empty storage
I will push the fix soon.
Storage attempts to clean up session data when items are dropped:
Storage::dropwill unset an empty storage array. However, the group will always remain in the storage array even after the last item has been dropped from the group. So the cleanup will not work as expected.The solution is to make
Storage::dropclean up recursively:I will push the fix soon.