summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2019-01-10 09:02:38 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2019-01-10 18:32:16 -0600
commitb425f86121c8c9f3b4a510e522d03e432677dcea (patch)
treeec0a34d787c7962cdd61b1967d79c2bf2386c482 /Source/Core/DolphinQt/MainWindow.cpp
parentc2afcb0f6bba761c248031ee715a1db3fd4dbe05 (diff)
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.
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index 1b57cbe96c..81a8955bd9 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -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();
}