Changeset 52413 in vbox for trunk/src/libs/xpcom18a4/ipc/ipcd
- Timestamp:
- Aug 19, 2014 12:48:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp
r52369 r52413 3229 3229 } 3230 3230 3231 /* Double-ckeck if we already allowed to quit. */ 3232 if ((tsStart + VBOX_XPCOM_SHUTDOWN_TIMEOUT_MS ) < RTTimeMilliTS() || mWorkers.Count() == 0) 3233 break; 3234 3231 3235 // Relax a bit before the next round. 3232 3236 RTThreadSleep(10); … … 3235 3239 LOG(("There are %d thread(s) left.\n", mWorkers.Count())); 3236 3240 3237 // If there are some running threads left, just forget about them. 3238 mWorkers.Clear(); 3241 // If there are some running threads left, terminate the process. 3242 if (mWorkers.Count() > 0) 3243 exit(1); 3244 3239 3245 3240 3246 nsAutoMonitor::DestroyMonitor(mWaitingWorkersMon);
Note:
See TracChangeset
for help on using the changeset viewer.