Mercurial > 510Connectbot
comparison src/org/tn5250j/framework/tn5250/tnvt.java @ 219:c438c2ff0052
remove unnecessary socket run dry flagging
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 08 Jul 2014 10:46:40 -0700 |
parents | 2bdc413623b2 |
children | 8a6c7c7ffe0d |
comparison
equal
deleted
inserted
replaced
218:2bdc413623b2 | 219:c438c2ff0052 |
---|---|
981 bk = new Stream5250(); | 981 bk = new Stream5250(); |
982 | 982 |
983 while (keepTrucking) { | 983 while (keepTrucking) { |
984 try { | 984 try { |
985 Object e = dsq.take(); | 985 Object e = dsq.take(); |
986 | |
987 if ((e instanceof Integer) && ((Integer)e == 0)) { | |
988 //buffer.testChanged(); | |
989 continue; | |
990 }; | |
991 | |
992 bk.initialize((byte[])e); | 986 bk.initialize((byte[])e); |
993 } | 987 } |
994 catch (InterruptedException ie) { | 988 catch (InterruptedException ie) { |
995 Log.w(TAG, " vt thread interrupted and stopping "); | 989 Log.w(TAG, " vt thread interrupted and stopping "); |
996 keepTrucking = false; | 990 keepTrucking = false; |