altosui: calling thread.interrupt with null thread doesn't work well
authorKeith Packard <keithp@keithp.com>
Sat, 20 Nov 2010 07:18:51 +0000 (23:18 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 20 Nov 2010 07:18:51 +0000 (23:18 -0800)
This was a left-over from debugging the previous patch.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/altosui/AltosLog.java

index 11319768c1d2548093458287a8bdbb3628699f58..dd147d21adb960818ff3d26423f7c5e48816ba36 100644 (file)
@@ -51,7 +51,6 @@ class AltosLog implements Runnable {
                if (log_thread != null) {
                        log_thread.interrupt();
                        log_thread = null;
-                       log_thread.interrupt();
                }
        }