refactor
This commit is contained in:
@ -95,7 +95,7 @@ private:
|
||||
std::vector<std::shared_ptr<event_type>> events;
|
||||
|
||||
unique_mutex_lock lock(event_mutex_);
|
||||
while (not get_stop_requested() && event_list_.empty()) {
|
||||
if (not get_stop_requested() && event_list_.empty()) {
|
||||
event_notify_.wait_for(lock, 4s);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user