QmlProfiler: flush on new trace
Discard pending data if a new trace arrives while an old one
was still being processed. If we don't, the data of both
traces gets mixed, leading to a possible crash.
Change-Id: Ibba7df06f6a4b7e93d00f6fa1fa4802baf3a1731
Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
Showing
- src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp 7 additions, 0 deletionssrc/plugins/qmlprofiler/qmlprofilerclientmanager.cpp
- src/plugins/qmlprofiler/qmlprofilerclientmanager.h 1 addition, 0 deletionssrc/plugins/qmlprofiler/qmlprofilerclientmanager.h
- src/plugins/qmlprofiler/qmlprofilertool.cpp 1 addition, 0 deletionssrc/plugins/qmlprofiler/qmlprofilertool.cpp
Loading
Please register or sign in to comment