Created
December 15, 2018 22:15
-
-
Save cryptocode/54ad2643bc181af9f4983b7c10de1f2c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/rai/node/node.cpp b/rai/node/node.cpp | |
index b9f5681e..caaae4e0 100644 | |
--- a/rai/node/node.cpp | |
+++ b/rai/node/node.cpp | |
@@ -1966,13 +1966,13 @@ void rai::node::stop () | |
{ | |
block_processor_thread.join (); | |
} | |
+ vote_processor.stop (); | |
active.stop (); | |
network.stop (); | |
bootstrap_initiator.stop (); | |
bootstrap.stop (); | |
port_mapping.stop (); | |
checker.stop (); | |
- vote_processor.stop (); | |
wallets.stop (); | |
} | |
@@ -3321,6 +3321,7 @@ void rai::active_transactions::stop () | |
{ | |
thread.join (); | |
} | |
+ lock.lock(); | |
roots.clear (); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment