FullscreenUI: Fix possible RemoveHook() call on wrong thread

pull/3731/head
Stenzek 3 months ago
parent 22378bd9c2
commit 2b100621ab
No known key found for this signature in database

@ -548,7 +548,7 @@ void FullscreenUI::InputBindingDialog::Draw()
// allow the dialog to fade out, but stop receiving any more events
m_time_remaining = 0.0f;
m_binding_type = InputBindingInfo::Type::Unknown;
InputManager::RemoveHook();
Host::RunOnCoreThread(&InputManager::RemoveHook);
StartClose();
}
}

Loading…
Cancel
Save