aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-11-17 12:24:50 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-17 18:08:50 +0100
commitc887b0e84674378c26b85da292bdee54536056b7 (patch)
tree01e104666fb86e1875356718d3ca6160fcf2764a /tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
parentb36bbe3626bc68ac267d7653fa6408a8f258251d (diff)
Debugger: Fix warnings about QProcess still running in autotest
Change-Id: Ib0c68629cfe430a0d13b1504f86bfa78e85007b4 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Diffstat (limited to 'tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp')
-rw-r--r--tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp b/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
index ffeb822f99..90958f8264 100644
--- a/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
+++ b/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
@@ -950,8 +950,10 @@ void tst_QDeclarativeDebugJS::initTestCase()
void tst_QDeclarativeDebugJS::cleanupTestCase()
{
- if (process)
+ if (process) {
+ process->stop();
delete process;
+ }
if (client)
delete client;
@@ -979,8 +981,10 @@ void tst_QDeclarativeDebugJS::init()
void tst_QDeclarativeDebugJS::cleanup()
{
- if (process)
+ if (process) {
+ process->stop();
delete process;
+ }
if (client)
delete client;