The constructor would block the execution of the whole thread until
profiling was enabled. This fix lets the user launch an application
with profiling disabled.
Change-Id: Ia57c19ce9200f7cc21ae2105db954cc2cb0df271
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
if (command == "V8PROFILER") {
ds >> title;
if (option == "start") {
- d->initialized = true;
startProfiling(QString::fromUtf8(title));
} else if (option == "stop") {
stopProfiling(QString::fromUtf8(title));
// Send messages to client
d->sendMessages();
}
+ d->initialized = true;
}
if (command == "V8SNAPSHOT") {