diff Framework/Oracle/ThreadedOracle.cpp @ 1097:4383382db01d broker

deprecating LockingEmitter
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Oct 2019 22:31:18 +0200
parents d7a18a3cd6f9
children 17660df24c36
line wrap: on
line diff
--- a/Framework/Oracle/ThreadedOracle.cpp	Thu Oct 24 09:38:17 2019 +0200
+++ b/Framework/Oracle/ThreadedOracle.cpp	Thu Oct 24 22:31:18 2019 +0200
@@ -255,6 +255,8 @@
         delete workers_[i];
       }
     } 
+
+    queue_.Clear();
   }
 
 
@@ -287,7 +289,7 @@
     catch (...)
     {
       LOG(ERROR) << "Native exception while stopping the threaded oracle";
-    }           
+    }
   }