mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 777939: Add missing onStopListening for the REPL socket listener. r=vingtetun
This commit is contained in:
parent
b2da18e471
commit
c4f893f231
@ -400,6 +400,11 @@ Services.obs.addObserver(function onSystemMessage(subject, topic, data) {
|
||||
output = clientSocket.openOutputStream(Ci.nsITransport.OPEN_BLOCKING, 0, 0);
|
||||
output.write(prompt, prompt.length);
|
||||
input.asyncWait(reader, 0, 0, Services.tm.mainThread);
|
||||
},
|
||||
onStopListening: function repl_onStopListening() {
|
||||
if (output) {
|
||||
output.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
let serverPort = Services.prefs.getIntPref('b2g.remote-js.port');
|
||||
|
Loading…
Reference in New Issue
Block a user