- * Deallocate all subsystems owned by the task.
- */
- task_subsystem_destroy_all(task);
-
-#if 0
- /*
- * Destroy the IPC space, leaving just a reference for it.
- */
- /*
- * Lookupd will break if we enable this cleaning, because it
- * uses a slimey trick that depends upon the portspace not
- * being cleaned up across exec (it passes the lookupd server
- * port to the child after a restart using knowledge of this
- * bug in past implementations). We need to fix lookupd to
- * keep from leaking ports across exec.