diff options
Diffstat (limited to 'tutorial/t15/main.cpp')
-rw-r--r-- | tutorial/t15/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |