Changeset 3715
- Timestamp:
- 08/19/07 15:51:12 (1 year ago)
- Files:
-
- trunk/Chat Core/MVIRCChatConnection.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Chat Core/MVIRCChatConnection.m
r3666 r3715 563 563 pool = nil; 564 564 565 BOOL active = YES; 566 while( active && ( _status == MVChatConnectionConnectedStatus || _status == MVChatConnectionConnectingStatus || [_chatConnection isConnected] ) ) { 565 while( _status == MVChatConnectionConnectedStatus || _status == MVChatConnectionConnectingStatus || [_chatConnection isConnected] ) { 567 566 pool = [[NSAutoreleasePool allocWithZone:nil] init]; 568 active =[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:5.]];567 [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:5.]]; 569 568 if( [pool respondsToSelector:@selector( drain )] ) 570 569 [pool drain];
