From 9b959c78404dcc1263834f2cfe6a1f199420df30 Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Mon, 18 Oct 2010 16:52:27 +1000 Subject: Fix recording of visual tests. --- tools/qml/qmlruntime.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/qml/qmlruntime.cpp b/tools/qml/qmlruntime.cpp index 9f9eba0..78bc409 100644 --- a/tools/qml/qmlruntime.cpp +++ b/tools/qml/qmlruntime.cpp @@ -1383,6 +1383,8 @@ void QDeclarativeViewer::appAboutToQuit() // avoid crashes if messages are received after app has closed delete loggerWindow; loggerWindow = 0; + delete tester; + tester = 0; } void QDeclarativeViewer::autoStartRecording() -- cgit v0.12