diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-04-14 16:25:53 +0900 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-04-14 16:25:53 +0900 |
commit | 8f78f1407ef0185cec372321fd49633014ed7edf (patch) | |
tree | edd2489e3791027aa4313563a93d82870bce1f96 /src/cryptonote_core | |
parent | Merge pull request #783 (diff) | |
parent | Fix potential race with parallel processing of txes/signatures/blocks (diff) | |
download | monero-8f78f1407ef0185cec372321fd49633014ed7edf.tar.xz |
Merge pull request #784
087373e Fix potential race with parallel processing of txes/signatures/blocks (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index c19230176..70cbaf0fd 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -2143,6 +2143,7 @@ bool Blockchain::check_tx_inputs(const transaction& tx, tx_verification_context if(ioservice_active) \ { \ work.reset(); \ + while (!ioservice.stopped()) ioservice.poll(); \ threadpool.join_all(); \ ioservice.stop(); \ ioservice_active = false; \ |