mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -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