mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-23 16:20:00 +00:00
Description:repair kill appspawn fail
Feature or Bugfix:Bugfix Binary Source: No Signed-off-by: cat <chenjinxiang3@huawei.com>
This commit is contained in:
parent
f69eb77faf
commit
bbbc345a32
@ -1206,7 +1206,6 @@ void StopAllServices(int flags, const char **exclude, int size,
|
||||
if (service != NULL && service->pid > 0) { // notify appspawn stop
|
||||
#ifndef STARTUP_INIT_TEST
|
||||
kill(service->pid, SIGTERM);
|
||||
waitpid(service->pid, 0, 0);
|
||||
service->pid = -1;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user