mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
STABLE14-darwin-afsd-cleanup-power-notification-nicely-20071023
don't drop a core on shutdown (cherry picked from commit 4526c6a4f7e6f627249580cac0ba9373735ae667)
This commit is contained in:
parent
07f85591da
commit
db374f6e77
@ -428,7 +428,7 @@ afsd_event_cleanup(int signo) {
|
|||||||
|
|
||||||
CFRunLoopRemoveSource(CFRunLoopGetCurrent(), source, kCFRunLoopDefaultMode);
|
CFRunLoopRemoveSource(CFRunLoopGetCurrent(), source, kCFRunLoopDefaultMode);
|
||||||
CFRelease (source);
|
CFRelease (source);
|
||||||
IODeregisterForSystemPower(iterator);
|
IODeregisterForSystemPower(&iterator);
|
||||||
IOServiceClose(root_port);
|
IOServiceClose(root_port);
|
||||||
IONotificationPortDestroy(notify);
|
IONotificationPortDestroy(notify);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user