mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
qt: unregister Settings' DevicesChanged callback during shutdown
fixes a crash on close
This commit is contained in:
@@ -360,6 +360,8 @@ void MainWindow::ShutdownControllers()
|
||||
{
|
||||
m_hotkey_scheduler->Stop();
|
||||
|
||||
Settings::Instance().UnregisterDevicesChangedCallback();
|
||||
|
||||
Pad::Shutdown();
|
||||
Pad::ShutdownGBA();
|
||||
Keyboard::Shutdown();
|
||||
|
||||
Reference in New Issue
Block a user