mirror of https://github.com/WerWolv/ImHex
fix: Crash on exit due to frame rate limiter thread not being shut down
Fixes #2140
This commit is contained in:
parent
1508efac7a
commit
51547dc941
|
|
@ -100,6 +100,9 @@ namespace hex {
|
|||
}
|
||||
|
||||
Window::~Window() {
|
||||
m_frameRateThread.request_stop();
|
||||
m_frameRateThread.join();
|
||||
|
||||
EventProviderDeleted::unsubscribe(this);
|
||||
RequestCloseImHex::unsubscribe(this);
|
||||
RequestUpdateWindowTitle::unsubscribe(this);
|
||||
|
|
|
|||
Loading…
Reference in New Issue