changeset 421:660ac2d2003b

break out of infinite loop
author Carl Byington <carl@five-ten-sg.com>
date Wed, 29 Oct 2014 18:03:42 -0700
parents e5f7c2584296
children 651aff5a46c7
files src/com/five_ten_sg/connectbot/service/TerminalMonitor.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Wed Oct 29 15:31:21 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Wed Oct 29 18:03:42 2014 -0700
@@ -179,6 +179,7 @@
                     try {
                         Thread.sleep(100);
                         monitor_socket = new Socket(serverAddr, MONITORPORT);
+                        break;
                     }
                     catch (Exception e) {
                         monitor_socket = null;