|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
That error is MACH_SEND_INVALID_DEST. User clients use mach ports as forms of communication from user->kernel and some of the mach errors bleed through the API I believe. If you have subscribed for termination notifications (general interest + kIOMessageServiceIsTerminated), then you don't need to close the user client from the user space side; the connection is already broken.
On the kernel side, you must be sure to detach() your user client from its provider (IOKit doesn't do this on your behalf). You may need to add code to your willTerminate()/didTerminate() sequence to ensure you properly close() your provider and detach() from it. Those things can cause extra retain's and cause objects to stick around...
6 Infinite Loop
Cupertino CA 95014
phone: (408) 974-4033
fax: (408) 862-7577
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-drivers mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
|>Problem with shutting down user clients (From: David Lee <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.