From: Mikko Rasa Date: Sun, 8 Jul 2012 14:14:10 +0000 (+0300) Subject: Avoid killing internal worker threads X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=53a2b5e5fb7dc3905b41a6231f03bac0c87a4133;p=builder.git Avoid killing internal worker threads --- diff --git a/source/internaltask.cpp b/source/internaltask.cpp index 37c9b75..b8cbf11 100644 --- a/source/internaltask.cpp +++ b/source/internaltask.cpp @@ -6,6 +6,7 @@ InternalTask::InternalTask(Worker *w): InternalTask::~InternalTask() { + worker->join(); delete worker; }