Another data point on this: if I use waitUntilDone:NO, it doesn't even work the 
first time through.

Responds to selector still returns YES. There are no error messages.

On 08/12/2010, at 6:05 AM, Gideon King wrote:

> Hi, I'm trying to debug a really odd issue. I have a method that I run in a 
> separate thread, and right at the end of the method, I call 
> 
>       [anObject performSelectorOnMainThread:@selector(myMethod:) 
> withObject:someData waitUntilDone:YES];
> 
> This works fine the first time I run it. The second and subsequent times I 
> try it, the message never arrives at its destination. I have checked and the 
> destination object is exactly the same, it still has a retain count of 1, and 
> if I ask respondsToSelector: it says yes.
> 
> Any ideas what else I should look at to try to track down the cause of this?

_______________________________________________

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