android: unload hid after shutdown
This commit is contained in:
parent
0b766e4523
commit
a0d6289582
1 changed files with 4 additions and 2 deletions
|
@ -316,8 +316,10 @@ void EmulationSession::ShutdownEmulation() {
|
|||
|
||||
m_is_running = false;
|
||||
|
||||
// Unload user input.
|
||||
m_system.HIDCore().UnloadInputDevices();
|
||||
SCOPE_EXIT({
|
||||
// Unload user input.
|
||||
m_system.HIDCore().UnloadInputDevices();
|
||||
});
|
||||
|
||||
// Shutdown the main emulated process
|
||||
if (m_load_result == Core::SystemResultStatus::Success) {
|
||||
|
|
Loading…
Add table
Reference in a new issue