mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
qt: unregister Settings' DevicesChanged callback during shutdown
fixes a crash on close
This commit is contained in:
parent
f7f47d3cd0
commit
27dd2c4aa4
3 changed files with 14 additions and 2 deletions
|
@ -360,6 +360,8 @@ void MainWindow::ShutdownControllers()
|
|||
{
|
||||
m_hotkey_scheduler->Stop();
|
||||
|
||||
Settings::Instance().UnregisterDevicesChangedCallback();
|
||||
|
||||
Pad::Shutdown();
|
||||
Pad::ShutdownGBA();
|
||||
Keyboard::Shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue