Added more mutexes in eventmanager, fixed exiting destruction bug

This commit is contained in:
EricLiu2000
2019-08-07 13:12:16 -04:00
parent 9629864f1b
commit ef16e60025
5 changed files with 43 additions and 17 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class EventManagerTest : public ::testing::Test {
protected:
// Start with a clean instance of eventmanager for every test
void SetUp() override {
EventManager::ResetInstance();
EventManager::GetInstance().ResetInstance();
}
};