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:
1 parent
2376aec135
commit
c238e49119
4 files changed
+29
-22
No files matched your search
@@ -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