mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
ControllerInterface: Remove OSX window handle
also make it more thread safe (avoid rare deadlock) and fix it trying to add devices before the CI has init
This commit is contained in:
@ -116,6 +116,7 @@ private:
|
||||
|
||||
std::list<std::function<void()>> m_devices_changed_callbacks;
|
||||
mutable std::recursive_mutex m_devices_population_mutex;
|
||||
mutable std::mutex m_pre_population_mutex;
|
||||
mutable std::mutex m_callbacks_mutex;
|
||||
std::atomic<bool> m_is_init;
|
||||
// This is now always protected by m_devices_population_mutex, so
|
||||
|
Reference in New Issue
Block a user