]> Git Repo - VerusCoin.git/commitdiff
Clear the operation queue when closing it.
authorSimon <[email protected]>
Sun, 4 Sep 2016 05:24:03 +0000 (22:24 -0700)
committerSimon <[email protected]>
Fri, 9 Sep 2016 04:46:14 +0000 (21:46 -0700)
src/asyncrpcqueue.cpp

index a63619f0be274f307870367797a6d2c139076c29..385709a618d22e87329d0d411635ba7f87759b0f 100644 (file)
@@ -34,6 +34,9 @@ void AsyncRPCQueue::run(size_t workerId) {
 
             // Exit if the queue is closing.
             if (isClosed()) {
+                while (!operation_id_queue_.empty()) {
+                    operation_id_queue_.pop();
+                }
                 break;
             }
 
This page took 0.023067 seconds and 4 git commands to generate.