mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Crash on exit due to frame rate limiter thread not being shut down
Fixes #2140
This commit is contained in:
@@ -100,6 +100,9 @@ namespace hex {
|
||||
}
|
||||
|
||||
Window::~Window() {
|
||||
m_frameRateThread.request_stop();
|
||||
m_frameRateThread.join();
|
||||
|
||||
EventProviderDeleted::unsubscribe(this);
|
||||
RequestCloseImHex::unsubscribe(this);
|
||||
RequestUpdateWindowTitle::unsubscribe(this);
|
||||
|
||||
Reference in New Issue
Block a user