Bug 1209559 - "Figure out why opening a toolbox on certain workers works only once.". r=janx

This commit is contained in:
Eddy Bruel 2016-02-23 05:03:00 +01:00
parent bfe2e7e95b
commit 2f4115838a

View File

@ -1416,6 +1416,9 @@ WorkerClient.prototype = {
detach: DebuggerClient.requester({ type: "detach" }, {
after: function (aResponse) {
if (this.thread) {
this.client.unregisterClient(this.thread);
}
this.client.unregisterClient(this);
return aResponse;
},