Backout 569e2110f0ff (bug 1128027). r=bgrins a=lsblakk
authorJ. Ryan Stinnett <jryans@gmail.com>
Sun, 01 Mar 2015 19:08:34 -0600
changeset 250135 21120474140d
parent 250134 85ca6f646762
child 250136 6f6ec57ce6b9
push id4511
push userjryans@gmail.com
push date2015-03-02 01:11 +0000
treeherdermozilla-beta@e49cd895e078 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins, lsblakk
bugs1128027
milestone37.0
backs out569e2110f0ff
Backout 569e2110f0ff (bug 1128027). r=bgrins a=lsblakk
toolkit/devtools/server/actors/inspector.js
--- a/toolkit/devtools/server/actors/inspector.js
+++ b/toolkit/devtools/server/actors/inspector.js
@@ -1183,33 +1183,29 @@ var WalkerActor = protocol.ActorClass({
     }
   },
 
   toString: function() {
     return "[WalkerActor " + this.actorID + "]";
   },
 
   destroy: function() {
-    try {
-      this._destroyed = true;
-
-      this.clearPseudoClassLocks();
-      this._activePseudoClassLocks = null;
-
-      this._hoveredNode = null;
-      this.rootDoc = null;
-
-      this.reflowObserver.off("reflows", this._onReflows);
-      this.reflowObserver = null;
-      releaseLayoutChangesObserver(this.tabActor);
-
-      events.emit(this, "destroyed");
-    } catch(e) {
-      console.error(e);
-    }
+    this._destroyed = true;
+
+    this.clearPseudoClassLocks();
+    this._activePseudoClassLocks = null;
+
+    this._hoveredNode = null;
+    this.rootDoc = null;
+
+    this.reflowObserver.off("reflows", this._onReflows);
+    this.reflowObserver = null;
+    releaseLayoutChangesObserver(this.tabActor);
+
+    events.emit(this, "destroyed");
     protocol.Actor.prototype.destroy.call(this);
   },
 
   release: method(function() {}, { release: true }),
 
   unmanage: function(actor) {
     if (actor instanceof NodeActor) {
       if (this._activePseudoClassLocks &&