Add thread-safety to various scripting methods

This commit is contained in:
Wojtek Figat
2023-10-01 10:57:51 +02:00
parent 075f40b93a
commit d10d52ec0c
5 changed files with 23 additions and 3 deletions

View File

@@ -60,6 +60,9 @@ public:
/// <returns>The found binary module or null if missing.</returns>
static BinaryModule* GetModule(const StringAnsiView& name);
// Global scripting locker for cached data.
static CriticalSection Locker;
protected:
/// <summary>