site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Sep 13, 2008, at 4:15 AM, Jason Coco wrote: Hello all, Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2 _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... No matter how your app terminates, if you leave dangling resources they will be cleaned up for you by the kernel. There may be a few exceptions, but Mach ports (which is what IOKit handles are) are not one of them. I was wondering if anybody knows... if an application registers for user-level power events and never calls IODeregisterForSystemPower on the notifier and/or IOServiceClose on the root port, does that application then keep the computer from properly handling idle sleep requests? In this case, clean up isn't called because the application terminates unexpectedly for some reason, but I've noticed that once this happens the computer will never sleep due to being idle again. I'm asking on the list because I'm not sure if this is 1) a bug; 2) expected behavior; or 3) something limited to my machine. Has anyone experienced anything like this before? Thanks, Jason _______________________________________________ This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Bergstrand