V8Profiler: fix block at start when profiling is disabled
authorChristiaan Janssen <christiaan.janssen@nokia.com>
Thu, 3 Nov 2011 11:42:35 +0000 (12:42 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 3 Nov 2011 15:01:53 +0000 (16:01 +0100)
commit92b420a041fe2dbdb792344ce8822a9690e398a7
tree56360cf1e38ed0db9277174e22155871ce97cf3e
parent73bf1bae926daeec135bb9838782916142a840f0
V8Profiler: fix block at start when profiling is disabled

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>
src/declarative/debugger/qv8profilerservice.cpp