Bug 852208: Delete unused DebuggerServerConnection.prototype.addCleanup. r=past

This commit is contained in:
Jim Blandy 2013-03-19 17:48:39 -07:00
parent 5245215bc4
commit 72ed24c525

View File

@ -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.