- if (_hw_reset_event_thread) {
- g_atomic_int_set(&_stop_hw_reset_processing, 1);
- g_atomic_int_set(&_hw_reset_request_count, 0);
- _hw_reset_condition.signal ();
- _hw_reset_event_thread->join ();
- _hw_reset_event_thread = 0;
- }
-
- if (_hw_devicelist_update_thread) {
- g_atomic_int_set(&_stop_hw_devicelist_processing, 1);
- g_atomic_int_set(&_hw_devicelist_update_count, 0);
- _hw_devicelist_update_condition.signal ();
- _hw_devicelist_update_thread->join ();
- _hw_devicelist_update_thread = 0;
- }
+ if (_hw_reset_event_thread) {
+ g_atomic_int_set(&_stop_hw_reset_processing, 1);
+ g_atomic_int_set(&_hw_reset_request_count, 0);
+ _hw_reset_condition.signal ();
+ _hw_reset_event_thread->join ();
+ _hw_reset_event_thread = 0;
+ }