mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
impr: Make events thread safe
This commit is contained in:
@@ -14,5 +14,11 @@ namespace hex {
|
||||
return events;
|
||||
}
|
||||
|
||||
std::recursive_mutex& EventManager::getEventMutex() {
|
||||
static std::recursive_mutex mutex;
|
||||
|
||||
return mutex;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user