performSelectorOnMainThread fails second time through
performSelectorOnMainThread fails second time through
- Subject: performSelectorOnMainThread fails second time through
- From: Gideon King <email@hidden>
- Date: Wed, 8 Dec 2010 06:05:46 +1000
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?
Thanks
Gideon
_______________________________________________
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