RE: dealloc strangeness in my custom view
RE: dealloc strangeness in my custom view
- Subject: RE: dealloc strangeness in my custom view
- From: "Josh Ferguson" <email@hidden>
- Date: Tue, 28 Jan 2003 09:48:12 -0600
- Thread-topic: dealloc strangeness in my custom view
Sascha,
I know this is true for C++ and I assume this is true in Objective-C. Since this object doesn't need to be deallocated while the application is running, it's perfectly safe to allow it to be cleaned up when the application's memory is freed when the process is terminated.
Josh Ferguson
MindVision Software
www.mindvision.com/filestorm
-----Original Message-----
From: Sascha Kujawa [
mailto:email@hidden]
Sent: Saturday, January 25, 2003 3:39 AM
To: Cocoa Development List
Subject: dealloc strangeness in my custom view
heya
I just noticed that my custom view's dealloc method did not get called.
Not when closing the window, and not even when quitting the application.
Then I realised that InterfaceBuilder's default setting is not set to
"release when closed". When I set it, my dealloc gets called.
But even without that flag, it should at least get called if the program
quits, not?
--
Sascha Kujawa
http://www.zeitfraktur.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.