commit | 50a5915032bea6d207551f053457c805ba31132f | [log] [tgz] |
---|---|---|
author | commit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Jan 13 17:43:17 2012 +0000 |
committer | commit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Jan 13 17:43:17 2012 +0000 |
tree | c56c0eeb9e1e2c6aad5a54034adceba9120f1a51 | |
parent | f05701e778e543a4d06e232072dc2d66a35b4f49 [diff] [blame] |
Web Inspector: Disconnecting the front-end does not disable profiling. https://bugs.webkit.org/show_bug.cgi?id=76213 Patch by Konrad Piascik <kpiascik@rim.com> on 2012-01-13 Reviewed by Pavel Feldman. Not testable. * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::clearFrontend): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/inspector/InspectorProfilerAgent.cpp b/Source/WebCore/inspector/InspectorProfilerAgent.cpp index 93d5242..fdd56a8 100644 --- a/Source/WebCore/inspector/InspectorProfilerAgent.cpp +++ b/Source/WebCore/inspector/InspectorProfilerAgent.cpp
@@ -279,6 +279,8 @@ { m_frontend = 0; stop(); + ErrorString error; + disable(&error); } void InspectorProfilerAgent::restore()