зеркало из https://github.com/mozilla/pjs.git
Bug 649564 - Try to ensure that the socks client subprocess is never killed after the process completes. r=ted-irc
This commit is contained in:
Родитель
246813dac5
Коммит
5b6ab5e191
|
@ -442,11 +442,17 @@ SocksTestServer.prototype = {
|
|||
|
||||
close: function()
|
||||
{
|
||||
if (this.client_subprocess)
|
||||
if (this.client_subprocess) {
|
||||
this.client_subprocess.kill();
|
||||
this.client_subprocess = null;
|
||||
}
|
||||
for each (var client in this.client_connections)
|
||||
client.close();
|
||||
this.client_connections = [];
|
||||
if (this.listener) {
|
||||
this.listener.close();
|
||||
this.listener = null;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче