Re: Fullscreen code not working
Re: Fullscreen code not working
- Subject: Re: Fullscreen code not working
- From: Cameron Hayne <email@hidden>
- Date: Sun, 5 Jun 2005 12:25:04 -0400
On 5-Jun-05, at 11:40 AM, rfitz wrote:
the user clicks the close button this code is executed:
set theWindow to (call method "endFullScreen")
The fullscreen window closes, but then after about 1 or 2 seconds my
program crashes.
Your 'endFullScreen' method is void - so it doesn't return a window.
Thus the above invocation does not seem good. But if the app is
crashing, can't you run in the debugger to find out where & why it is
crashing?
And I note that you need to do some cleanup in endFullScreen as
otherwise you are leaking memory - e.g. for the allocated 'fsWindow'.
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden