mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 881601 - Don't close the listener if it was never opened, r=wlach
This commit is contained in:
parent
82e2156007
commit
e80897df24
@ -58,6 +58,7 @@ MarionetteComponent.prototype = {
|
||||
appName: Services.appinfo.name,
|
||||
enabled: false,
|
||||
finalUiStartup: false,
|
||||
_marionetteServer: null,
|
||||
|
||||
onSocketAccepted: function mc_onSocketAccepted(aSocket, aTransport) {
|
||||
this.logger.info("onSocketAccepted for Marionette dummy socket");
|
||||
@ -152,7 +153,9 @@ MarionetteComponent.prototype = {
|
||||
},
|
||||
|
||||
uninit: function mc_uninit() {
|
||||
this._marionetteServer.closeListener();
|
||||
if (this._marionetteServer) {
|
||||
this._marionetteServer.closeListener();
|
||||
}
|
||||
this._loaded = false;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user