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:
Michael Bayne
2005-12-21 19:30:39 +00:00
parent 7ecb150627
commit 4324149cdb
@@ -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();