Reordered error downgrading, order of going offline, and renamed locks

This commit is contained in:
EricLiu2000
2019-08-06 10:32:19 -04:00
parent 01c62b6445
commit 3358241abe
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ public:
eventsLock.unlock();
runCallbacks(event);
} else {
std::lock_guard<std::mutex> lk(errorsMutex);
std::lock_guard<std::mutex> errorsLock(errorsMutex);
add_internal_error(event);
}
} else {