diff --git a/services/init/init_common_service.c b/services/init/init_common_service.c index 79018cca7a6833aef24e971f383123c1fe2d8050..b87e859c297226f49142276f0f949ded0302c2fc 100755 --- a/services/init/init_common_service.c +++ b/services/init/init_common_service.c @@ -448,6 +448,7 @@ void ServiceReap(Service *service) if (CalculateCrashTime(service, service->crashTime, service->crashCount) == false) { INIT_LOGE("Critical service \" %s \" crashed %d times, rebooting system", service->name, service->crashCount); + ServiceStop(GetServiceByName("appspawn")); ExecReboot("reboot"); } } else if (!(service->attribute & SERVICE_ATTR_NEED_RESTART)) {