protected static Queue runnable = new Queue(50);
public void defaultRun() {
- while(true) {
+ try {while(true) {
currentTask = (Task)runnable.remove(true);
try {
synchronized(this) {
Log.info(Scheduler.class, e);
}
// if an Error is thrown it will cause the engine to quit
+} } catch (Throwable t) {
+ t.printStackTrace();
}
}
}