mirror of
https://github.com/moparisthebest/SSLDroid
synced 2024-11-15 21:45:06 -05:00
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());
|
||||
sc.close();
|
||||
if (sc != null)
|
||||
{
|
||||
sc.close();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user