mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06: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