don't close socket, and use HALT for shutdown
This commit is contained in:
parent
f9b38e6379
commit
8a934c9cab
|
@ -452,11 +452,11 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
|||
|
||||
|
||||
try {
|
||||
logNotice("sending SHUTDOWN signal to Tor process");
|
||||
conn.shutdownTor("SHUTDOWN");
|
||||
logNotice("sending HALT signal to Tor process");
|
||||
conn.shutdownTor("HALT");
|
||||
|
||||
logNotice("closing tor socket");
|
||||
torConnSocket.close();
|
||||
//logNotice("closing tor socket");
|
||||
// torConnSocket.close();
|
||||
|
||||
} catch (Exception e) {
|
||||
Log.d(TAG,"error shutting down Tor via connection",e);
|
||||
|
|
Loading…
Reference in New Issue