From 72ed24c525f6cfff442bea6fc4cf25fccf03e393 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 19 Mar 2013 17:48:39 -0700 Subject: [PATCH] Bug 852208: Delete unused DebuggerServerConnection.prototype.addCleanup. r=past --- toolkit/devtools/debugger/server/dbg-server.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/toolkit/devtools/debugger/server/dbg-server.js b/toolkit/devtools/debugger/server/dbg-server.js index 5419238a3193..f3bde2d0c021 100644 --- a/toolkit/devtools/debugger/server/dbg-server.js +++ b/toolkit/devtools/debugger/server/dbg-server.js @@ -486,7 +486,7 @@ ActorPool.prototype = { }, /** - * Run all cleanups previously registered with addCleanup. + * Run all actor cleanups. */ cleanup: function AP_cleanup() { for each (let actor in this._cleanups) { @@ -575,13 +575,6 @@ DebuggerServerConnection.prototype = { this._actorPool.removeActor(aActor); }, - /** - * Add a cleanup to the default actor pool for this connection. - */ - addCleanup: function DSC_addCleanup(aCleanup) { - this._actorPool.addCleanup(aCleanup); - }, - /** * Look up an actor implementation for an actorID. Will search * all the actor pools registered with the connection.