From 44204a8166662ee103e56cee67d46b07333269c3 Mon Sep 17 00:00:00 2001 From: Joachim LeBlanc Date: Tue, 7 Aug 2012 02:59:10 -0500 Subject: [PATCH] Fix out of order timestamps --- Classes/IRC/IRCWorld.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classes/IRC/IRCWorld.m b/Classes/IRC/IRCWorld.m index 51c2be71fa..c048d499ba 100755 --- a/Classes/IRC/IRCWorld.m +++ b/Classes/IRC/IRCWorld.m @@ -54,6 +54,9 @@ - (id)init self.clients = [NSMutableArray new]; self.messageOperationQueue = [NSOperationQueue new]; + self.messageOperationQueue.name = @"IRCWordMessageOperationQueue"; + self.messageOperationQueue.maxConcurrentOperationCount = 1; +// Only 1 at a time or else we get a race condition and out of order messages } return self;