Both were issued when a process died unexpectedly, but in case of
a dependent, forceStop() would be issued without stop() meaning that
the dependent would not actually stop.
}
else {
sr->forceStop();
- sr->stop();
}
if (sr->auto_restart && sr->service_set->get_auto_restart()) {
void ServiceRecord::forceStop()
{
force_stop = true;
+ stop();
for (sr_iter i = dependents.begin(); i != dependents.end(); i++) {
(*i)->forceStop();
}