In case of RakutenTV app, it calls tizen.application...exit()
twice. Of course WRTServiceManager::Remove() will skip stopService
at the second time, this patch can skip stopService() sequence more
early time.
Change-Id: I65fdfb13f28834e4093f6be7888054e6aec7162b
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
(cherry picked from commit
9b0419b99033485731a603ac1bb96d1cc87ea7ee)
}
}
-function requestStopService(id: string) {
+let requestStopService = (id: string) => {
+ requestStopService = (id: string) => {};
setTimeout(() => wrt.stopService(id), 500);
}