Explicitly handles mount/umount on JS side to simplify logic of
WRTServiceManager.
Related chromium-efl patch:
https://review.tizen.org/gerrit/253835/
Change-Id: I89874f752d8113d6582a238acce9b0b328b635ab
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
function run() {
let id = workerData.id;
+ // FIXME: this should be 'wrt.tv?.serviceMount(id)' after Tizen 6.5 release
+ (wrt.tv as any)?.serviceMount(id);
+
let filename = workerData.filename;
start(id, filename);
setTimeout(() => {
XWalkExtension.cleanup();
parentPort?.postMessage("will-terminate");
+ (wrt.tv as any)?.serviceUmount(id);
}, message.delay);
}
});