fix: Crash on exit due to frame rate limiter thread not being shut down
Fixes #2140
This commit is contained in:
parent
40d74dd633
commit
c974c4257d
@ -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…
x
Reference in New Issue
Block a user