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;
|
m_is_running = false;
|
||||||
|
|
||||||
|
SCOPE_EXIT({
|
||||||
// Unload user input.
|
// Unload user input.
|
||||||
m_system.HIDCore().UnloadInputDevices();
|
m_system.HIDCore().UnloadInputDevices();
|
||||||
|
});
|
||||||
|
|
||||||
// Shutdown the main emulated process
|
// Shutdown the main emulated process
|
||||||
if (m_load_result == Core::SystemResultStatus::Success) {
|
if (m_load_result == Core::SystemResultStatus::Success) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue