diff --git a/toolkit/devtools/server/protocol.js b/toolkit/devtools/server/protocol.js index 5d67abd2e6e..bd007e2b521 100644 --- a/toolkit/devtools/server/protocol.js +++ b/toolkit/devtools/server/protocol.js @@ -770,7 +770,7 @@ let Pool = Class({ * Remove an actor as a child of this pool. */ unmanage: function(actor) { - this.__poolMap.delete(actor.actorID); + this.__poolMap && this.__poolMap.delete(actor.actorID); }, // true if the given actor ID exists in the pool.