Modernized something that must have been around prior to the ability to

post Runnables to the omgr queue.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4187 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-06-12 23:07:25 +00:00
parent f6dd283b2a
commit f7983050e9
@@ -387,17 +387,14 @@ public class PresentsClient
}
// we need to get onto the distributed object thread so that we
// can finalize the resumption of the session. we do so by
// posting a special event
DEvent event = new DEvent(0) {
public boolean applyToObject (DObject target) {
// can finalize the resumption of the session.
PresentsServer.omgr.postRunnable(new Runnable() {
public void run () {
// now that we're on the dobjmgr thread we can resume our
// session resumption
finishResumeSession();
return false;
}
};
PresentsServer.omgr.postEvent(event);
});
}
/**