https://bugs.webkit.org/show_bug.cgi?id=81249
Reviewed by Vsevolod Vlasov.
* inspector/front-end/ScriptMapping.js:
(WebInspector.MainScriptMapping.prototype._unregisterLiveLocation):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@110868
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-03-15 Pavel Podivilov <podivilov@chromium.org>
+
+ Web Inspector: live locations could be disposed twice.
+ https://bugs.webkit.org/show_bug.cgi?id=81249
+
+ Reviewed by Vsevolod Vlasov.
+
+ * inspector/front-end/ScriptMapping.js:
+ (WebInspector.MainScriptMapping.prototype._unregisterLiveLocation):
+
2012-03-15 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Implement unicode submenu items
_unregisterLiveLocation: function(scriptId, liveLocation)
{
- this._liveLocationsForScriptId[scriptId].remove(liveLocation);
+ if (this._liveLocationsForScriptId[scriptId])
+ this._liveLocationsForScriptId[scriptId].remove(liveLocation);
},
_updateLiveLocations: function(scriptIds)