Fix bug in WpEvent referencing.
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.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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.