summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterluadebug.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-06-12 16:59:05 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-06-12 16:59:05 -0400
commit2ad31a8316c56edfcd78ce494edfcd98209a2cfa (patch)
tree74dadb391f0a31aee384705c0557ff26f81019eb /indra/newview/llfloaterluadebug.h
parent128514da9e1b24e8d817ec90b53dea9506f31101 (diff)
Defend LLFloaterLUADebug against recursive calls to handlers.
The special case of a Lua snippet that indirectly invokes the "LLNotifications" listener can result in a recursive call to LLFloaterLUADebug's handler methods. Defend against that case.
Diffstat (limited to 'indra/newview/llfloaterluadebug.h')
-rw-r--r--indra/newview/llfloaterluadebug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloaterluadebug.h b/indra/newview/llfloaterluadebug.h
index 7418174570..4d9e2fabca 100644
--- a/indra/newview/llfloaterluadebug.h
+++ b/indra/newview/llfloaterluadebug.h
@@ -66,6 +66,7 @@ private:
LLLineEditor* mLineInput;
LLLineEditor* mScriptPath;
LuaState mState;
+ bool mExecuting{ false };
};
#endif // LL_LLFLOATERLUADEBUG_H