[TxMt Plugins] Re: reference counts on project NSWindows

Niko Matsakis niko at alum.mit.edu
Sat Feb 6 10:46:07 UTC 2010

> I flagged your other letter to “read it in depth later” but will then drop that :)
> It did sound like retain-cycle related. If your controller retains a view, that view in turn holds a pointer to its superview a.s.o. until it reaches the window, so indirectly your controller retains the window (I think, not 100% sure).

That was my suspicion as well.  I did TRY to make sure that my controller was not retaining the window, but I may have missed something.    Anyhow, the new system seems to work well and also seems less magical, so I'm happy.


More information about the textmate-plugins mailing list