summaryrefslogtreecommitdiffstats
path: root/Tools/MCADefrag/MCADefrag.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-28 23:33:24 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-03-30 00:36:15 +0200
commit222d9957a1a566464d6a824caaf9a56539eb3234 (patch)
treec4bd9041e07a61c6f1a1eaaf70838e26fafae82e /Tools/MCADefrag/MCADefrag.cpp
parentDo an early check for empty network buffers (#5172) (diff)
downloadcuberite-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/MCADefrag/MCADefrag.cpp')
-rw-r--r--Tools/MCADefrag/MCADefrag.cpp2
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();
}