From 73a8f5f4845d34d74470b5a524d655be9eaf6dfc Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 10 Nov 2014 10:50:37 +0100 Subject: Cleanup debugger to be safe for the new GC Added a bit of convenience to PersistentValue as well. Change-Id: I5a858079543b41ce1ef48a84e9350a7d6fa64501 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4debugging_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4debugging_p.h') diff --git a/src/qml/jsruntime/qv4debugging_p.h b/src/qml/jsruntime/qv4debugging_p.h index 7ba95b83b8..5780dc7c0d 100644 --- a/src/qml/jsruntime/qv4debugging_p.h +++ b/src/qml/jsruntime/qv4debugging_p.h @@ -196,7 +196,7 @@ private: private: QV4::ExecutionEngine *m_engine; - QV4::ExecutionContext *m_currentContext; + QV4::PersistentValue m_currentContext; DebuggerAgent *m_agent; QMutex m_lock; QWaitCondition m_runningCondition; -- cgit v1.2.3