[tor-commits] [orbot/master] don't close socket, and use HALT for shutdown
n8fr8 at torproject.org
n8fr8 at torproject.org
Mon Jul 14 17:40:21 UTC 2014
commit 8a934c9cabba35c678b3837f87b58a46156adccb
Author: Nathan Freitas <nathan at freitas.net>
Date: Thu Jul 10 11:04:21 2014 -0400
don't close socket, and use HALT for shutdown
---
src/org/torproject/android/service/TorService.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java
index 358e717..a983812 100644
--- a/src/org/torproject/android/service/TorService.java
+++ b/src/org/torproject/android/service/TorService.java
@@ -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);
More information about the tor-commits
mailing list