[tor-commits] [orbot/master] ensure diag/test mode stop's Tor on activity exit

n8fr8 at torproject.org n8fr8 at torproject.org
Thu Jun 12 00:26:26 UTC 2014


commit fc6392932f354498bc89b263fcdc5bfe4cd29bbd
Author: Nathan Freitas <nathan at freitas.net>
Date:   Wed Jun 11 20:24:21 2014 -0400

    ensure diag/test mode stop's Tor on activity exit
---
 src/org/torproject/android/OrbotDiagnosticsActivity.java |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/org/torproject/android/OrbotDiagnosticsActivity.java b/src/org/torproject/android/OrbotDiagnosticsActivity.java
index db7ab21..717d3ee 100644
--- a/src/org/torproject/android/OrbotDiagnosticsActivity.java
+++ b/src/org/torproject/android/OrbotDiagnosticsActivity.java
@@ -57,8 +57,9 @@ public class OrbotDiagnosticsActivity extends Activity {
 	
 	@Override
 	protected void onPause() {
-		// TODO Auto-generated method stub
 		super.onPause();
+		
+		stopTor();
 	}
 
 	@Override





More information about the tor-commits mailing list