• 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
Instantly Releasing Window Controller...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Instantly Releasing Window Controller...


  • Subject: Instantly Releasing Window Controller...
  • From: "Joshua D. Orr" <email@hidden>
  • Date: Sun, 14 Jul 2002 22:03:17 -0600

I have a situation where a document keeps track of a window controller in a NSMutableArray. The window controller at deallocation has to send a message to the document. When the document deallocates, it removes the window controller from the array, the only problem is that the deallocation method for the window controller seems to be called after the document is fully released. Shouldn't the window controller be released right there? The only thing I can think of is that the array autoreleases the objects it keeps track of. Is there any way to make the window controller be deallocated right at the time it is removed from the array?


Thanks!
_______________________________________________
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.

  • Prev by Date: pattern fills -- can they be origined differently?
  • Next by Date: Problems with custom Cell in NSTableView
  • Previous by thread: pattern fills -- can they be origined differently?
  • Next by thread: Problems with custom Cell in NSTableView
  • Index(es):
    • Date
    • Thread