[Service] Prevent multiple calls of wrt.stopService() 29/247629/1
authorDongHyun Song <dh81.song@samsung.com>
Fri, 6 Nov 2020 07:55:37 +0000 (16:55 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Fri, 13 Nov 2020 02:11:45 +0000 (02:11 +0000)
commitb6973a288994391aa43574138f81fa5faae7153c
tree0b200d841ac1c92625bc2217d3490b510819e86e
parent54523c9d69dfe143b4af8f5df3e640b63cff1cbf
[Service] Prevent multiple calls of wrt.stopService()

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)
wrt_app/common/service_runner.ts