[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trying to understand NSOperation
From: |
Richard Frith-Macdonald |
Subject: |
Re: Trying to understand NSOperation |
Date: |
Sat, 5 Mar 2011 06:12:59 +0000 |
On 4 Mar 2011, at 22:20, Banlu Kemiyatorn wrote:
> When NSOperation finish in -_finish
> it didChangeValueForKey:@"isFinished" (525)
> in NSKeyValueObserving.m:1739 it [pathInfo notifyForKey: aKey
> ofInstance: [info instance] prior: NO];
> which make it be removed from the op queue and deallocated at
> NSOperation.m:902
> and crash at NSKeyValueObserving.m:1748
>
> should retaining and releasing self around _finish?
Thanks ... I implemented that suggestion.