Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Mar 5, 2020

Even though SplStack::unserialize() is not supposed to be called on
an already constructed instance, it is probably better if the method
clears the stack before actually unserializing.


It's certainly debatable whether the current behavior is a bug at all, but still might be worth to fix/improve; maybe for master only, though.

Even though `SplStack::unserialize()` is not supposed to be called on
an already constructed instance, it is probably better if the method
clears the stack before actually unserializing.
@cmb69
Copy link
Member Author

cmb69 commented Mar 6, 2020

Thanks! Applied as b842772.

@cmb69 cmb69 closed this Mar 6, 2020
@cmb69 cmb69 deleted the cmb/75673 branch March 6, 2020 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants