diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-03-28 23:33:24 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-03-30 00:36:15 +0200 |
commit | 222d9957a1a566464d6a824caaf9a56539eb3234 (patch) | |
tree | c4bd9041e07a61c6f1a1eaaf70838e26fafae82e /Tools | |
parent | Do an early check for empty network buffers (#5172) (diff) | |
download | cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.gz cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.bz2 cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.lz cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.xz cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.zst cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.zip |
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/MCADefrag/MCADefrag.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/MCADefrag/MCADefrag.cpp b/Tools/MCADefrag/MCADefrag.cpp index 544d9f9e8..6573fa5ea 100644 --- a/Tools/MCADefrag/MCADefrag.cpp +++ b/Tools/MCADefrag/MCADefrag.cpp @@ -86,7 +86,7 @@ void cMCADefrag::Run(void) // Wait for all the threads to finish: while (!m_Threads.empty()) { - m_Threads.front()->Wait(); + m_Threads.front()->Stop(); delete m_Threads.front(); m_Threads.pop_front(); } |