From d7e99594aeaab9d984b5f13f27da7abbbd031e8e Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 11 Mar 2015 18:04:32 -0700 Subject: [PATCH] make the application the parent of the node thread --- interface/src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index c0c7bca214..4061ad97f6 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -326,7 +326,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : _runningScriptsWidget = new RunningScriptsWidget(_window); // start the nodeThread so its event loop is running - QThread* nodeThread = new QThread(); + QThread* nodeThread = new QThread(this); nodeThread->setObjectName("Datagram Processor Thread"); nodeThread->start();