Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Unified Diff: Source/WebCore/inspector/InspectorWorkerAgent.cpp

Issue 11361213: Merge 133569 - Web Inspector: JavaScript web workers debugging crashes (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/InspectorWorkerAgent.cpp
===================================================================
--- Source/WebCore/inspector/InspectorWorkerAgent.cpp (revision 134194)
+++ Source/WebCore/inspector/InspectorWorkerAgent.cpp (working copy)
@@ -63,6 +63,7 @@
}
virtual ~WorkerFrontendChannel()
{
+ disconnectFromWorkerContext();
}
int id() const { return m_id; }
@@ -136,9 +137,9 @@
void InspectorWorkerAgent::clearFrontend()
{
+ m_state->setBoolean(WorkerAgentState::autoconnectToWorkers, false);
+ disable(0);
m_inspectorFrontend = 0;
- m_state->setBoolean(WorkerAgentState::autoconnectToWorkers, false);
- destroyWorkerFrontendChannels();
}
void InspectorWorkerAgent::enable(ErrorString*)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698