FROM : Hank Heijink
DATE : Mon Feb 25 21:44:56 2008
That's essentially what I ended up doing: I need to save the other
three instance variables of the MVActions, so for now I release the
NSInvocation ivar before adding an MVAction to the array. Not very
elegant maybe, but it does solve my problem.
Thanks,
Hank
On Feb 25, 2008, at 3:30 PM, Nir Soffer wrote:
> Another fix - when your document is closed, release the array
> holding the MVActions, which retain the invocation. This will break
> the retain cycle and allow your document to be released.
>
>
> Best Regards,
>
> Nir Soffer
>
Hank Heijink
hank.<email_removed>
DATE : Mon Feb 25 21:44:56 2008
That's essentially what I ended up doing: I need to save the other
three instance variables of the MVActions, so for now I release the
NSInvocation ivar before adding an MVAction to the array. Not very
elegant maybe, but it does solve my problem.
Thanks,
Hank
On Feb 25, 2008, at 3:30 PM, Nir Soffer wrote:
> Another fix - when your document is closed, release the array
> holding the MVActions, which retain the invocation. This will break
> the retain cycle and allow your document to be released.
>
>
> Best Regards,
>
> Nir Soffer
>
Hank Heijink
hank.<email_removed>
| Related mails | Author | Date |
|---|---|---|
| Hank Heijink | Feb 21, 17:22 | |
| Nir Soffer | Feb 22, 01:42 | |
| Hank Heijink | Feb 22, 05:00 | |
| Chris Suter | Feb 22, 05:18 | |
| Hank Heijink | Feb 22, 16:36 | |
| Chris Suter | Feb 23, 02:47 | |
| Hank Heijink | Feb 25, 15:49 | |
| Nir Soffer | Feb 25, 21:30 | |
| Hank Heijink | Feb 25, 21:44 | |
| Nir Soffer | Feb 25, 21:49 | |
| Hank Heijink | Feb 25, 22:51 | |
| Chris Suter | Feb 26, 00:03 | |
| Hank Heijink | Feb 27, 16:58 |






Cocoa mail archive

