fix: GLFW error on exit

This commit is contained in:
WerWolv
2022-08-03 10:45:50 +02:00
parent 0ac8fcd1eb
commit ace25d353b
3 changed files with 10 additions and 3 deletions

View File

@@ -95,6 +95,11 @@ namespace hex {
}
}
static void clear() noexcept {
s_events.clear();
s_tokenStore.clear();
}
private:
static std::map<void *, EventList::iterator> s_tokenStore;
static EventList s_events;