Re: ScreenSaver cleanup
Re: ScreenSaver cleanup
- Subject: Re: ScreenSaver cleanup
- From: Darkshadow <email@hidden>
- Date: Mon, 7 Jul 2003 21:34:44 -0400
- Nightproductions: dreamstatic.dyndns.org
I don't have a solution for you, but I thought that I'd chime in that
if you place any deallocation stuff in -stopAnimation, it will get
called if the display goes to sleep.
Darkshadow
On Monday, July 7, 2003, at 10:04 AM, Tom Bernard wrote:
My screen saver needs to do some cleanup before being deallocated. I
have
placed my cleanup code in the ScreenSaverView's -dealloc method.
-dealloc is called when the screen saver was instantiated by SaverLab
or
System Preferences; -dealloc is not called when ScreenSaverEngine runs
the
saver.
I have also tried registering for
NSApplicationWillTerminateNotification; my
selector is not called when ScreenSaverEngine terminates.
I am considering placing my cleanup code in -stopAnimation, but feel
that
direction would lead to SaverLab incompatibilities.
Thanks in advance.
Tom Bernard
email@hidden
_______________________________________________
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.