Changeset 23562
- Timestamp:
- 03/19/08 14:43:25 (9 months ago)
- Files:
-
- 1 modified
-
trunk/launchd/src/launchd_core_logic.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/launchd/src/launchd_core_logic.c
r23561 r23562 4184 4184 4185 4185 SLIST_FOREACH(ms, &j->machservices, sle) { 4186 if (ms->recv && m s->isActive) {4186 if (ms->recv && machservice_active(ms)) { 4187 4187 return "Mach service is still active"; 4188 4188 } … … 4721 4721 4722 4722 LIST_FOREACH_SAFE(ms, &port_hash[HASH_PORT(port)], port_hash_sle, next_ms) { 4723 if (ms->port == port ) {4723 if (ms->port == port && !ms->recv) { 4724 4724 machservice_delete(ms->job, ms, true); 4725 4725 } … … 4812 4812 } 4813 4813 4814 if (ms->recv && job_assumes(j, !m s->isActive)) {4814 if (ms->recv && job_assumes(j, !machservice_active(ms)) { 4815 4815 job_assumes(j, launchd_mport_close_recv(ms->port) == KERN_SUCCESS); 4816 4816 }

