• 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
NSView subclass never gets dealloced?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSView subclass never gets dealloced?


  • Subject: NSView subclass never gets dealloced?
  • From: Jonathan Wight <email@hidden>
  • Date: Thu, 28 Mar 2002 21:31:44 -0600

Hi,

I've got a subclass of NSView which nicely cleans up after itself when it
gets dealloc-ed. Or rather _would_ if it ever got the dealloc message.
Whenever I quit the application or close the view's window no dealloc
message gets sent. It's almost as if the quit menu item calls exit(0)
directly :-)

Is the behavior I'm seeing to be expected? Seems fishy to me.

Jon.
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSView subclass never gets dealloced?
      • From: Nick Müller <email@hidden>
    • Re: NSView subclass never gets dealloced?
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Blurry/flickery NSImage animation in ScreenSaverView
  • Next by Date: Re: NSWindow makeFirstResponder bug?
  • Previous by thread: Re: Blurry/flickery NSImage animation in ScreenSaverView
  • Next by thread: Re: NSView subclass never gets dealloced?
  • Index(es):
    • Date
    • Thread