NSFileHandle readInBackgroundAndNotify
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.