Skip to content
Snippets Groups Projects
user avatar
George Kiagiadakis authored
It is a valid use case to do things like call wp_session_item_export()
from within the async ready callback of _activate(), and it's not
possible unless the ACTIVATING flag has been cleared first.

To do this, use a GCClosure to wrap the callback and install marshal
guards, which are called before and after the callback, to modify
the flags.
55f56fec
History
Name Last commit Last update
..