mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
Bug 852208: Delete unused DebuggerServerConnection.prototype.addCleanup. r=past
This commit is contained in:
parent
5245215bc4
commit
72ed24c525
@ -486,7 +486,7 @@ ActorPool.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run all cleanups previously registered with addCleanup.
|
* Run all actor cleanups.
|
||||||
*/
|
*/
|
||||||
cleanup: function AP_cleanup() {
|
cleanup: function AP_cleanup() {
|
||||||
for each (let actor in this._cleanups) {
|
for each (let actor in this._cleanups) {
|
||||||
@ -575,13 +575,6 @@ DebuggerServerConnection.prototype = {
|
|||||||
this._actorPool.removeActor(aActor);
|
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
|
* Look up an actor implementation for an actorID. Will search
|
||||||
* all the actor pools registered with the connection.
|
* all the actor pools registered with the connection.
|
||||||
|
Loading…
Reference in New Issue
Block a user