• 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
NSFileHandle readInBackgroundAndNotify
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileHandle readInBackgroundAndNotify


  • Subject: NSFileHandle readInBackgroundAndNotify
  • From: Andreas Mayer <email@hidden>
  • Date: Mon, 30 Sep 2002 04:24:27 +0200

After moving to 10.2 I noticed that my application would not close the serial port properly anymore.

Looks like NSFileHandle's readInBackgroundAndNotify does retain the receiver.

Is this correct behaviour?
Since my app worked before 10.2 I assume that it did not do that as of 10.1.x.

If this behaviour *is* correct, how should I go about releasing the file handle? closeFile does not help.

I created the NSFileHandle using initWithFileDescriptor:closeOnDealloc:

Can anyone verify my observations?


bye. Andreas.
_______________________________________________
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: Re: NSBezierPath Problems
  • Next by Date: [Q] Activating and deactivating fonts
  • Previous by thread: Left mouse events in a window
  • Next by thread: [Q] Activating and deactivating fonts
  • Index(es):
    • Date
    • Thread