Add thread-safety to various scripting methods
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user