diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-31 08:18:06 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-31 08:18:06 +0200 |
commit | 76a765c967145e1ed26712376814bd695f42153a (patch) | |
tree | 1e3f666d1b6a5646543d258c2962d8ffe35b705f /tests | |
parent | Merge pull request #578 (diff) | |
parent | blockchain: kill ioservice on scope end, rather than manually (diff) | |
download | monero-76a765c967145e1ed26712376814bd695f42153a.tar.xz |
Merge pull request #579
576effe blockchain: kill ioservice on scope end, rather than manually (moneromooo-monero)
ed5d017 miner: minor fixes on stop (moneromooo-monero)
b245215 core_tests: deinit core before destroying it (moneromooo-monero)
bc8a52e wallet: add a rescan_bc command and rescan_blockchain RPC (moneromooo-monero)
92ef6b5 wallet: protect against exceptions in the block pull thread (moneromooo-monero)
af21061 net_peerlist: move a couple functions from public to private (moneromooo-monero)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core_tests/chaingen.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h index 822ccfb11..17b78da8e 100644 --- a/tests/core_tests/chaingen.h +++ b/tests/core_tests/chaingen.h @@ -498,7 +498,9 @@ inline bool do_replay_events(std::vector<test_event_entry>& events) return false; } t_test_class validator; - return replay_events_through_core<t_test_class>(c, events, validator); + bool ret = replay_events_through_core<t_test_class>(c, events, validator); + c.deinit(); + return ret; } //-------------------------------------------------------------------------- template<class t_test_class> |