Fix issue when have requestStopService, but for 500ms timer, durning
this time this app relaunch agian, worker will wake up, but
after 500ms, service app will been stop, so the second time launch
work is not finish.
When really terminateWorker also will have 500ms delay, remove this
delay timer seems has no effect.
Change-Id: I81ead85152ea0851d93dc399069c5c215865ad1a
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
}
let requestStopService = (id: string) => {
- requestStopService = (id: string) => {};
- setTimeout(() => wrt.stopService(id), 500);
+ console.debug(`requestStopService : ${id}`);
+ wrt.stopService(id);
}
let app: any = null;