Commit 9ccd03ba authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlDebugger: reseting internal state on engine setup

reviewed-by: Friedemann Kleint
parent ce5b57c8
......@@ -375,6 +375,8 @@ void QmlCppEngine::executeDebuggerCommand(const QString &command)
void QmlCppEngine::setupEngine()
{
EDEBUG("\nMASTER SETUP ENGINE");
d->m_activeEngine = d->m_cppEngine;
d->m_stackBoundary = 0;
d->m_qmlEngine->setupSlaveEngine();
d->m_cppEngine->setupSlaveEngine();
}
......
......@@ -346,6 +346,7 @@ void QmlEngine::shutdownEngine()
void QmlEngine::setupEngine()
{
d->m_ping = 0;
d->m_adapter.setMaxConnectionAttempts(MaxConnectionAttempts);
d->m_adapter.setConnectionAttemptInterval(ConnectionAttemptDefaultInterval);
connect(&d->m_adapter, SIGNAL(connectionError(QAbstractSocket::SocketError)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment