NSWindow crash
NSWindow crash
- Subject: NSWindow crash
- From: "John Cebasek" <email@hidden>
- Date: Wed, 22 Mar 2006 08:37:44 -0500
Hi All:
In my security agent plugin, I've run into a bit of a problem. I create a window from a nib and if I show the window (and call RunModalForWindow...) when I quit, things are just fine. Everything is destroyed as it should be.
However, there's one case where I don't want to show the window - this happens during the second pass thru a fast-user-switch. I this case, the RunModalForWindow is not called, and when the window is destroyed, there's an uninitialized variable and when it is destroyed, of course the application crashes.
I'm at a little bit of a roadblock. Any hints on what might be happening and what I can do to fix it?
Thanks
John
_______________________________________________
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