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
[EMAIL PROTECTED]



_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to