Skip to content
Snippets Groups Projects
Commit 73be238f authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Add another lock to universe

parent d6a52e46
No related branches found
No related tags found
No related merge requests found
......@@ -227,6 +227,8 @@ void Universe::_run() {
continue;
}
unique_lock<mutex> lk(net_mutex_);
//If connection request is waiting
for (auto l : listeners_) {
if (l && l->isListening()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment