close correct socket after faulty jingle socks connection
This commit is contained in:
parent
5e1d2a92a6
commit
ed46d12115
|
@ -142,7 +142,7 @@ public class JingleSocks5Transport extends JingleTransport {
|
||||||
this.isEstablished = true;
|
this.isEstablished = true;
|
||||||
FileBackend.close(serverSocket);
|
FileBackend.close(serverSocket);
|
||||||
} else {
|
} else {
|
||||||
this.socket.close();
|
FileBackend.close(socket);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
socket.close();
|
socket.close();
|
||||||
|
|
Loading…
Reference in a new issue