We queue ourselves up every time an event comes in, so we should only process
one event when our run() method is called and then let other (non-distributed object) things get their chance to run in proper order. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3795 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -178,9 +178,9 @@ public class ClientDObjectMgr
|
||||
*/
|
||||
public void run ()
|
||||
{
|
||||
// process all of the events on our queue
|
||||
// process the next event on our queue
|
||||
Object obj;
|
||||
while ((obj = _actions.getNonBlocking()) != null) {
|
||||
if ((obj = _actions.getNonBlocking()) != null) {
|
||||
// do the proper thing depending on the object
|
||||
if (obj instanceof BootstrapNotification) {
|
||||
BootstrapData data = ((BootstrapNotification)obj).getData();
|
||||
|
||||
Reference in New Issue
Block a user