mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
Bug 1209559 - "Figure out why opening a toolbox on certain workers works only once.". r=janx
This commit is contained in:
parent
bfe2e7e95b
commit
2f4115838a
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user