Either your main thread doesn't implement the selector requested, or else it's an issue with the runloop never processing the request. If you have code that alters the runloop or modifies its input sources, check that code first.
Erg ________________________________ From: Ben Einstein <beinst...@me.com> To: cocoa-dev@lists.apple.com Sent: Thursday, May 28, 2009 9:11:42 AM Subject: performSelectorOnMainThread problem Does anyone know of any issue that would cause performSelectorOnMainThread to not actually perform the selector but not report any kind of error? I use threads very often and have never had a problem like this, but when I call: [aControllerObject performSelectorOnMainThread:@selector(doSomething:) withObject:anObject waitUntilDone:NO]; absolutely NOTHING happens. No log messages, doesn't pause on break points, and certainly no exceptions. But if I do this: [aControllerObject performSelector:@selector(doSomething:) withObject:anObject]; it works every time. I'm completely baffled. Has anyone seen anything like this before? Thanks, Ben _______________________________________________ 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/erg_consultant%40yahoo.com This email sent to erg_consult...@yahoo.com _______________________________________________ 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