mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
dont deadlock.
This commit is contained in:
parent
463cf9c350
commit
b871556d4f
@ -84,7 +84,7 @@ namespace ace {
|
|||||||
|
|
||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> lock_results(_results_lock);
|
std::lock_guard<std::mutex> lock_results(_results_lock);
|
||||||
std::lock_guard<std::mutex> lock_messages(_messages_lock);
|
//std::lock_guard<std::mutex> lock_messages(_messages_lock);
|
||||||
|
|
||||||
while (!_results.empty()) {
|
while (!_results.empty()) {
|
||||||
_results.pop();
|
_results.pop();
|
||||||
|
Loading…
Reference in New Issue
Block a user