Commits

Tuukka Norri committed 8453b59

Fixed a bug which caused CFRunLoop to run too frequently

  • Participants
  • Parent commits 7289437

Comments (0)

Files changed (1)

File Sources/BXConnectionMonitor.m

 	while (1)
 	{
 		NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
-		SInt32 res = CFRunLoopRunInMode (kCFRunLoopDefaultMode, 0, false);
+		SInt32 res = CFRunLoopRunInMode (kCFRunLoopDefaultMode, DBL_MAX, false);
 		[pool drain];
 
 		if (kCFRunLoopRunStopped == res || kCFRunLoopRunFinished == res)