Changeset 3714
- Timestamp:
- 08/15/07 11:05:33 (1 year ago)
- Files:
-
- trunk/Chat Core/MVICBChatConnection.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Chat Core/MVICBChatConnection.m
r3712 r3714 414 414 pool = nil; 415 415 416 BOOL active = YES; 417 while( active && ( _status == MVChatConnectionConnectedStatus || 418 _status == MVChatConnectionConnectingStatus || 419 [_chatConnection isConnected] ) ) { 416 while( _status == MVChatConnectionConnectedStatus || 417 _status == MVChatConnectionConnectingStatus || 418 [_chatConnection isConnected] ) { 420 419 pool = [[NSAutoreleasePool alloc] init]; 421 active =[[NSRunLoop currentRunLoop]422 runMode:NSDefaultRunLoopMode423 beforeDate:[NSDate dateWithTimeIntervalSinceNow:5.]];420 [[NSRunLoop currentRunLoop] 421 runMode:NSDefaultRunLoopMode 422 beforeDate:[NSDate dateWithTimeIntervalSinceNow:5.]]; 424 423 if( [pool respondsToSelector:@selector( drain )] ) 425 424 [pool drain];
