From dd757a1b95044e9874cde8585f09632cb4a35972 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Mon, 1 Jul 2013 05:18:26 +0200 Subject: [PATCH] infinite loop on stop: this was wrong.. not sure about the right solution --- vtm/src/org/oscim/utils/PausableThread.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vtm/src/org/oscim/utils/PausableThread.java b/vtm/src/org/oscim/utils/PausableThread.java index 804cea77..e84bf02f 100644 --- a/vtm/src/org/oscim/utils/PausableThread.java +++ b/vtm/src/org/oscim/utils/PausableThread.java @@ -44,12 +44,12 @@ public abstract class PausableThread extends Thread { super.interrupt(); } - try { - this.join(10000); - } catch (InterruptedException e) { - // restore the interrupted status - Thread.currentThread().interrupt(); - } + //try { + // this.join(10000); + //} catch (InterruptedException e) { + // // restore the interrupted status + // Thread.currentThread().interrupt(); + //} } /**