Debugger: Fix crash when app exits while debugging
authorKai Koehne <kai.koehne@digia.com>
Wed, 21 Aug 2013 10:30:46 +0000 (12:30 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 21 Aug 2013 13:55:32 +0000 (15:55 +0200)
commit4f35280bd039c2d2f0c53e936740440f1d887916
treeab5f685fc7c5571552f9d6356733c541bbb2ae82
parentfe0b3bb05ffb80579233e367f94078da8abd935d
Debugger: Fix crash when app exits while debugging

Make sure we don't access an already deleted v8engine any more.

Task-number: QTBUG-33100
Change-Id: Ic517577ae30b41375cbf9f787cfe0a29121171e2
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
src/qml/debugger/qv8debugservice.cpp
src/qml/debugger/qv8debugservice_p.h
src/qml/qml/qqmlengine.cpp
tests/auto/qml/debugger/qqmldebugjs/data/quit.qml [new file with mode: 0644]
tests/auto/qml/debugger/qqmldebugjs/tst_qqmldebugjs.cpp
tests/auto/qml/debugger/shared/debugutil.cpp
tests/auto/qml/debugger/shared/debugutil_p.h