aboutsummaryrefslogtreecommitdiffstats
path: root/gui/worker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/worker.cc')
-rw-r--r--gui/worker.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/worker.cc b/gui/worker.cc
index b009ecd3..900883d4 100644
--- a/gui/worker.cc
+++ b/gui/worker.cc
@@ -126,6 +126,7 @@ TaskManager::TaskManager() : toTerminate(false), toPause(false)
TaskManager::~TaskManager()
{
+ log_write_function = nullptr;
if (workerThread.isRunning())
terminate_thread();
workerThread.quit();