summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-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();
}