Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 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 | 39533be5cbe9 |
children | 651aff5a46c7 |
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;