Skip to content

Commit

Permalink
Fixed: Dispose thread's log as the very last action in the thread
Browse files Browse the repository at this point in the history
The final garbage recycling was creating a log entry.
  • Loading branch information
skyjake committed Dec 15, 2012
1 parent 1b3d578 commit 7bfa3e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doomsday/libdeng/src/concurrency.cpp
Expand Up @@ -90,8 +90,10 @@ void CallbackThread::run()
_terminationFunc(_exitStatus);
}

de::Log::disposeThreadLog();
Garbage_ClearForThread();

// No more log output from this thread.
de::Log::disposeThreadLog();
}

int CallbackThread::exitValue() const
Expand Down

0 comments on commit 7bfa3e9

Please sign in to comment.