mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Merge pull request #10228 from Filoppi/fix_android_input_deadlock
ControllerInterface: fix UpdateReferences() deadlock
This commit is contained in:
@ -80,8 +80,7 @@ Settings::Settings()
|
||||
// they'd continue living until the queued event has run, but some devices can't be recreated
|
||||
// until they are destroyed.
|
||||
// This is safe from any thread. Devices will be refreshed and re-acquired and in
|
||||
// DevicesChanged(). Waiting on QueueOnObject() to have finished running was not feasible as
|
||||
// it would cause deadlocks without heavy workarounds.
|
||||
// DevicesChanged(). Calling it without queueing shouldn't cause any deadlocks but is slow.
|
||||
emit ReleaseDevices();
|
||||
|
||||
QueueOnObject(this, [this] { emit DevicesChanged(); });
|
||||
|
Reference in New Issue
Block a user