I replaced NSDefaultRunLoopMode with NSModalPanelRunLoopMode, it is running 
fine now. Open another modal window won't stop network process.

Thanks Graham.


On 24 May 2011, at 8:12 PM, Graham Cox wrote:

> 
> On 24/05/2011, at 8:03 PM, Peter C wrote:
> 
>> [iStream scheduleInRunLoop:[NSRunLoop currentRunLoop]
>>              forMode:NSDefaultRunLoopMode];
> 
> 
> At a guess I'd say you need to set the runloop mode to something else, such 
> as NSRunLoopCommonModes or NSModalPanelRunLoopMode. Check out the NSRunLoop 
> documentation for what these mean.
> 
> 
> 
> --Graham
> 
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to