mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1014015 - Fix webapps actor exception when connecting more than once. r=paul
This commit is contained in:
parent
455badc214
commit
efea15696f
@ -204,6 +204,10 @@ WebappsActor.prototype = {
|
||||
actorPrefix: "webapps",
|
||||
|
||||
disconnect: function () {
|
||||
try {
|
||||
this.unwatchApps();
|
||||
} catch(e) {}
|
||||
|
||||
// When we stop using this actor, we should ensure removing all files.
|
||||
for (let upload of this._uploads) {
|
||||
upload.remove();
|
||||
|
Loading…
Reference in New Issue
Block a user