TcpProxyServerThread: add missing check on socket existence
This commit is contained in:
parent
e04d51d891
commit
dd0e9ac280
|
@ -124,7 +124,10 @@ public class TcpProxyServerThread extends Thread {
|
|||
}
|
||||
catch (Exception e) {
|
||||
Log.d("SSLDroid", tunnelName+"/"+sessionid+": SSL failure: " + e.toString());
|
||||
if (sc != null)
|
||||
{
|
||||
sc.close();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue