Re: NSConnection and Spinning Cursor Of The Death ...
Re: NSConnection and Spinning Cursor Of The Death ...
- Subject: Re: NSConnection and Spinning Cursor Of The Death ...
- From: email@hidden (mikevannorsdel)
- Date: Sun, 02 Dec 2001 15:02:59 -0700
You can try and define your remote method as:
- (oneway void)quitDaemon;
This way the message is sent without the sender waiting for the remote
method to return.
On 12/2/01 2:41 PM, "Thomas Deniau" <email@hidden> wrote:
>
I'm using a NSConnection to control a daemon. So I send the daemon a message
>
via DO so that it quits.
>
Everything seems to work at first : I receive
>
NSConnectionDidDieNotification, the daemon quits ... But then my app locks
>
up (spinning cursor).
>
>
So if I know that the connection will be lost when I send a message via DO,
>
is there a way to avoid this lockup ?