aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-10-11 16:53:10 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-17 12:53:26 +0200
commitf5e39c4164dcb37972ccb934b13ad802625e5905 (patch)
treefbdeef70cbd16fe7a6314d997a6ee390b52acba1 /src/qml
parenta2bdaf07c342a12a7b834d0bc17f52b5ee922117 (diff)
Make sure v8 service sends a finished signal
Otherwise Qt Creator will block forever ... Change-Id: I2ffe5e826c10338aeb4ded7079154fe83710c108 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml')
-rw-r--r--src/qml/debugger/qv8profilerservice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/debugger/qv8profilerservice.cpp b/src/qml/debugger/qv8profilerservice.cpp
index a94f611c27..33d6747b3b 100644
--- a/src/qml/debugger/qv8profilerservice.cpp
+++ b/src/qml/debugger/qv8profilerservice.cpp
@@ -233,12 +233,14 @@ void QV8ProfilerService::stopProfiling(const QString &title)
const v8::CpuProfileNode *rootNode = cpuProfile->GetTopDownRoot();
d->printProfileTree(rootNode);
} else {
+#endif
// indicate completion, even without data
QByteArray data;
QQmlDebugStream ds(&data, QIODevice::WriteOnly);
ds << (int)QV8ProfilerService::V8Complete;
sendMessage(data);
+#if 0
}
#endif
}