Skip to content

Fix bug in WpEvent referencing.

Ashok Sidipotu requested to merge myevent-stack into event-stack

while calling async execute closure, take a reference to the WpEvent object before pushing it to the Lua stack. Otherwise Lua garbage collector frees it, which leads to invalid memory access.

Merge request reports