From 4eba9b823832a5bab1acffeabc245b06fe113d75 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 May 2013 19:34:10 -0500 Subject: Fix a number of threading data races Add proper thread termination handler This partially resolves Bug 1508 --- tutorial/t15/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tutorial/t15') diff --git a/tutorial/t15/main.cpp b/tutorial/t15/main.cpp index 4c96083..61febaa 100644 --- a/tutorial/t15/main.cpp +++ b/tutorial/t15/main.cpp @@ -33,6 +33,8 @@ void WorkerObject::run() eventLoop->processEvents(QEventLoop::AllEvents); } + delete t; + eventLoop->exit(0); } -- cgit v1.2.1