Title: [244478] trunk/Source/WebCore
- Revision
- 244478
- Author
- drou...@apple.com
- Date
- 2019-04-19 17:33:20 -0700 (Fri, 19 Apr 2019)
Log Message
Web Inspector: Timelines: CPU: ensure that tracking stops when disconnecting Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=197115
<rdar://problem/49877875>
Reviewed by Joseph Pecoraro.
* inspector/agents/InspectorCPUProfilerAgent.cpp:
(WebCore::InspectorCPUProfilerAgent::willDestroyFrontendAndBackend):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (244477 => 244478)
--- trunk/Source/WebCore/ChangeLog 2019-04-20 00:31:13 UTC (rev 244477)
+++ trunk/Source/WebCore/ChangeLog 2019-04-20 00:33:20 UTC (rev 244478)
@@ -1,5 +1,16 @@
2019-04-19 Devin Rousso <drou...@apple.com>
+ Web Inspector: Timelines: CPU: ensure that tracking stops when disconnecting Web Inspector
+ https://bugs.webkit.org/show_bug.cgi?id=197115
+ <rdar://problem/49877875>
+
+ Reviewed by Joseph Pecoraro.
+
+ * inspector/agents/InspectorCPUProfilerAgent.cpp:
+ (WebCore::InspectorCPUProfilerAgent::willDestroyFrontendAndBackend):
+
+2019-04-19 Devin Rousso <drou...@apple.com>
+
Web Inspector: REGRESSION: Elements: "Inspect Element" context menu often doesn't select that element
https://bugs.webkit.org/show_bug.cgi?id=197091
<rdar://problem/49953728>
Modified: trunk/Source/WebCore/inspector/agents/InspectorCPUProfilerAgent.cpp (244477 => 244478)
--- trunk/Source/WebCore/inspector/agents/InspectorCPUProfilerAgent.cpp 2019-04-20 00:31:13 UTC (rev 244477)
+++ trunk/Source/WebCore/inspector/agents/InspectorCPUProfilerAgent.cpp 2019-04-20 00:33:20 UTC (rev 244478)
@@ -51,6 +51,9 @@
void InspectorCPUProfilerAgent::willDestroyFrontendAndBackend(DisconnectReason)
{
+ ErrorString ignored;
+ stopTracking(ignored);
+
m_instrumentingAgents.setInspectorCPUProfilerAgent(nullptr);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes