projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2004/01/13 19:27:17
[org.ibex.core.git]
/
src
/
org
/
xwt
/
Scheduler.java
diff --git
a/src/org/xwt/Scheduler.java
b/src/org/xwt/Scheduler.java
index
58b6a8b
..
8cbbb35
100644
(file)
--- a/
src/org/xwt/Scheduler.java
+++ b/
src/org/xwt/Scheduler.java
@@
-60,7
+60,7
@@
public class Scheduler {
protected static Queue runnable = new Queue(50);
public void defaultRun() {
protected static Queue runnable = new Queue(50);
public void defaultRun() {
- while(true) {
+ try {while(true) {
currentTask = (Task)runnable.remove(true);
try {
synchronized(this) {
currentTask = (Task)runnable.remove(true);
try {
synchronized(this) {
@@
-86,6
+86,8
@@
public class Scheduler {
Log.info(Scheduler.class, e);
}
// if an Error is thrown it will cause the engine to quit
Log.info(Scheduler.class, e);
}
// if an Error is thrown it will cause the engine to quit
+} } catch (Throwable t) {
+ t.printStackTrace();
}
}
}
}
}
}