Browse Source

Clear the operation queue when closing it.

pull/145/head
Simon 8 years ago
parent
commit
017b3ede33
  1. 3
      src/asyncrpcqueue.cpp

3
src/asyncrpcqueue.cpp

@ -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;
}

Loading…
Cancel
Save