Re: NSOperation cancellation
Re: NSOperation cancellation
- Subject: Re: NSOperation cancellation
- From: Thomas Engelmeier <email@hidden>
- Date: Tue, 26 May 2009 09:48:48 +0200
Am May 26, 2009 um 1:07 AM schrieb Kyle Sluder:
On Mon, May 25, 2009 at 10:15 AM, Thomas Engelmeier
<email@hidden> wrote:
My op polls isCancelled, returns from main and nothing more happens.
Please post your code, it's the only real way to investigate the issue
(especially since you're using operations/multithreading, where the
errors can be extremely subtle).
You were right. Copy-pasting the relevant code revealed that doing a
[delegate performSelectorOnMainThread] while the main thread is
blocked waiting for the last operation to finish is not a good idea ;-)
Thanks,
Thomas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden