diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-08-08 17:22:20 -0500 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-08-08 17:22:20 -0500 |
commit | f8f2432ece59fbc0913d011423ecc1e369924bcd (patch) | |
tree | 5f63a0dae9f2695d81033efaab7bc5dc210383fc | |
parent | 55087521f6db9aaa874cccd86e424d77e6c820c3 (diff) | |
download | infinitytier-f8f2432ece59fbc0913d011423ecc1e369924bcd.tar.gz infinitytier-f8f2432ece59fbc0913d011423ecc1e369924bcd.zip |
Shutdown fix
-rw-r--r-- | controller/DBMirrorSet.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/controller/DBMirrorSet.cpp b/controller/DBMirrorSet.cpp index 852e70f3..c1be6b9c 100644 --- a/controller/DBMirrorSet.cpp +++ b/controller/DBMirrorSet.cpp @@ -79,6 +79,8 @@ DBMirrorSet::DBMirrorSet(DB::ChangeListener *listener) : DBMirrorSet::~DBMirrorSet() { + _running = false; + _syncCheckerThread.join(); } bool DBMirrorSet::hasNetwork(const uint64_t networkId) const |