Changeset 23374
- Timestamp:
- 09/12/07 17:24:54 (15 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
r23372 r23374 455 455 static bool did_first_per_user_launchd_BootCache_hack; 456 456 static jobmgr_t background_jobmgr; 457 static job_t workaround_5477111; 457 458 static mach_timebase_info_data_t tbi; 458 459 … … 1859 1860 job_mig_destructor(job_t j) 1860 1861 { 1861 if (j && j->unload_at_mig_return) { 1862 /* 1863 * 5477111 1864 * 1865 * 'j' can be invalid at this point. We should fix this up after Leopard ships. 1866 */ 1867 1868 if (j && j != workaround_5477111 && j->unload_at_mig_return) { 1862 1869 job_log(j, LOG_NOTICE, "Unloading PID %u at MIG return.", j->p); 1863 1870 job_remove(j); 1864 1871 } 1872 1873 workaround_5477111 = NULL; 1865 1874 1866 1875 calendarinterval_sanity_check(); … … 5969 5978 jm->jm_port = 0; 5970 5979 5980 workaround_5477111 = j; 5981 5971 5982 jobmgr_shutdown(jm); 5972 5983

