|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
David --
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... HTH, -- Chris ------------------ 6 Infinite Loop M/S 306-2MS Cupertino CA 95014 phone: (408) 974-4033 fax: (408) 862-7577 email: email@hidden |
_______________________________________________ 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
| References: | |
| >Problem with shutting down user clients (From: David Lee <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.