I have a document-based application, and my NSDocument subclass and NSWindow subclass are not being deallocated when I close a window. Any idea how to fix this?
Asked
Active
Viewed 87 times
1
-
1you somewhere have a strong retain cycle.... hard to debug... have some details? – Volker Nov 30 '16 at 21:51
-
To give you a pointer and maybe help you decide what to add to your question: - i just went through the same problem: add deinit/dealloc to all your classes and print/NSLog "class name dealloced" and then look which class is not sending its dealloc message. – Volker Dec 01 '16 at 09:28