mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 13:41:06 +03:00
fix(ui): clean up stack after signaling in FrameScript_SignalEvent
This commit is contained in:
parent
1a25ac6a8e
commit
d6e2a1dce9
@ -833,6 +833,8 @@ void FrameScript_SignalEvent(uint32_t index, const char* format, ...) {
|
|||||||
|
|
||||||
FrameScript_SignalEvent(index, FrameScript::s_context, argCount);
|
FrameScript_SignalEvent(index, FrameScript::s_context, argCount);
|
||||||
|
|
||||||
|
lua_settop(FrameScript::s_context, -1 - argCount);
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
// if (lua_taintexpected && !lua_taintedclosure) {
|
// if (lua_taintexpected && !lua_taintedclosure) {
|
||||||
// lua_tainted = v18;
|
// lua_tainted = v18;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user