mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
ControllerInterface: Allow hotplug callbacks to be unregistered and don't reload the entire config from the ini file on hotplug, just update the control references. This should fix a crash on shutdown on Android.
This commit is contained in:
@ -281,11 +281,11 @@ void MainWindow::ShutdownControllers()
|
||||
{
|
||||
m_hotkey_scheduler->Stop();
|
||||
|
||||
g_controller_interface.Shutdown();
|
||||
Pad::Shutdown();
|
||||
Keyboard::Shutdown();
|
||||
Wiimote::Shutdown();
|
||||
HotkeyManagerEmu::Shutdown();
|
||||
g_controller_interface.Shutdown();
|
||||
|
||||
m_hotkey_scheduler->deleteLater();
|
||||
}
|
||||
|
Reference in New Issue
Block a user