PresentsDObjectMgr.isRunning() is really isNotShutdown() and we need to
preserve those semantics. Sigh. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5945 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -401,7 +401,6 @@ public class PresentsDObjectMgr
|
|||||||
// make a note of the thread that's processing events
|
// make a note of the thread that's processing events
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
_dobjThread = Thread.currentThread();
|
_dobjThread = Thread.currentThread();
|
||||||
_running = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
while (isRunning()) {
|
while (isRunning()) {
|
||||||
@@ -1052,7 +1051,7 @@ public class PresentsDObjectMgr
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** A flag indicating that the event dispatcher is still running. */
|
/** A flag indicating that the event dispatcher is still running. */
|
||||||
protected boolean _running;
|
protected boolean _running = true;
|
||||||
|
|
||||||
/** The event queue via which all events are processed. */
|
/** The event queue via which all events are processed. */
|
||||||
protected Queue<Object> _evqueue = new Queue<Object>();
|
protected Queue<Object> _evqueue = new Queue<Object>();
|
||||||
|
|||||||
Reference in New Issue
Block a user