mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 16:22:32 +03:00
fix(ui): clean up stack after signaling in FrameScript_SignalEvent
This commit is contained in:
1 file changed
+2
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user