summaryrefslogtreecommitdiff
path: root/indra/newview/llluamanager.h
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-04-08 16:55:26 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-04-08 16:55:26 +0300
commit799d1d595505acaa7f05a6d92db5f8f2d258f53e (patch)
tree9a695660aa7b60122a499a3d21511dc6463910e8 /indra/newview/llluamanager.h
parent3114f674aaef019804803bed50972833f5411f93 (diff)
Add script termination option to 'Lua Scripts' floater
Diffstat (limited to 'indra/newview/llluamanager.h')
-rw-r--r--indra/newview/llluamanager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llluamanager.h b/indra/newview/llluamanager.h
index fe4db22fca..d671719bc4 100644
--- a/indra/newview/llluamanager.h
+++ b/indra/newview/llluamanager.h
@@ -85,9 +85,12 @@ public:
static void runScriptOnLogin();
static const std::map<std::string, std::string> getScriptNames() { return sScriptNames; }
+ static std::set<std::string> getTerminationList() { return sTerminationList; }
+ static void terminateScript(std::string& coro_name) { sTerminationList.insert(coro_name); }
private:
- static std::map<std::string, std::string> sScriptNames;
+ static std::map<std::string, std::string> sScriptNames;
+ static std::set<std::string> sTerminationList;
};
class LLRequireResolver