• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSWindow crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Bug with LSMultipleInstancesProhibited
  • Next by Date: Re: Searching for a socket spy app for mac
  • Previous by thread: Bug with LSMultipleInstancesProhibited
  • Next by thread: Re: Searching for a socket spy app for mac
  • Index(es):
    • Date
    • Thread