Re: Distributed Objects "connection went invalid while waiting for a reply"
Re: Distributed Objects "connection went invalid while waiting for a reply"
- Subject: Re: Distributed Objects "connection went invalid while waiting for a reply"
- From: "Chris Suter" <email@hidden>
- Date: Tue, 29 Jul 2008 12:33:03 +1000
Hi Hamish,
On Tue, Jul 29, 2008 at 7:35 AM, Hamish Allan <email@hidden> wrote:
> For anyone searching the archives for "connection went invalid while
> waiting for a reply":
>
> I never found out why this message was appearing, but I found a workaround.
>
> Instead of calling [client callbackWithArgument:arg], call [client
> performSelector:@selector(callbackWithArgument:) withObject:arg
> afterDelay:0.0]
>
> I don't know why this should make a difference!
>
It sounds to me like you've got some kind of timing issue and that the delay
that you're adding is merely hiding the true cause of the problem. Are you
able to post a simple test case that displays the problem or post the code
that you're using when you set things up?
Regards,
Chris
_______________________________________________
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