From 4915076d8ee874b9fb4fee17c368229c4402a897 Mon Sep 17 00:00:00 2001 From: Luca Greco Date: Thu, 27 Nov 2014 05:51:00 -0500 Subject: [PATCH] Bug 980481 - Check for null __poolMap in the protocol.js unmanage method. r=ochameau --- toolkit/devtools/server/protocol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.