diff --git a/src/java/com/threerings/jme/JmeApp.java b/src/java/com/threerings/jme/JmeApp.java index ffb204b5..4fd3ef84 100644 --- a/src/java/com/threerings/jme/JmeApp.java +++ b/src/java/com/threerings/jme/JmeApp.java @@ -256,18 +256,24 @@ public class JmeApp _finished = true; } - // documentation inherited from interface RunQueue + // from interface RunQueue public void postRunnable (Runnable r) { _evqueue.append(r); } - // documentation inherited from interface RunQueue + // from interface RunQueue public boolean isDispatchThread () { return Thread.currentThread() == _dispatchThread; } + // from interface RunQueue + public boolean isRunning () + { + return !_finished; + } + /** * Determines the display configuration and creates the display. This must * fill in {@link #_api} as a side-effect.