]> git.tdb.fi Git - builder.git/commitdiff
Avoid killing internal worker threads
authorMikko Rasa <tdb@tdb.fi>
Sun, 8 Jul 2012 14:14:10 +0000 (17:14 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 8 Jul 2012 21:08:54 +0000 (00:08 +0300)
source/internaltask.cpp

index 37c9b75de91a9fb5962cb58584749245308cc9a0..b8cbf115a460183189f87643da430806f9076a9a 100644 (file)
@@ -6,6 +6,7 @@ InternalTask::InternalTask(Worker *w):
 
 InternalTask::~InternalTask()
 {
+       worker->join();
        delete worker;
 }