• 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
File still in use after closing document window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File still in use after closing document window


  • Subject: File still in use after closing document window
  • From: Antonio Nunes <email@hidden>
  • Date: Mon, 2 Jun 2008 09:10:22 +0200

Hi,

My NSDocument based app loads (imports) PDF files into its documents. After a PDF file has been loaded, and the document window it was loaded into has been closed, the original cannot be deleted when emptying the trash, because the finder thinks it is still in use. It is necessary to exit the app completely to be able to delete the file from the trash. I'm not aware that any special cleanup should be performed when the document window is closed. Is there something I am overlooking, or something I can do to ensure the system does not try to hang on to the original PDF file once the NSDocument into which it was loaded is closed?

António

-----------------------------------------------------------
Don't believe everything you think
-----------------------------------------------------------

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: File still in use after closing document window
      • From: "Hamish Allan" <email@hidden>
  • Prev by Date: RE: to use the default about panel
  • Next by Date: How to TAB away from an NSCollectionView
  • Previous by thread: Re: Advanced Mac OS X Bootcamp
  • Next by thread: Re: File still in use after closing document window
  • Index(es):
    • Date
    • Thread