Merge "[TV] Bring cancelDialogs() forward to before-quit" into tizen
authorBot Blink <blinkbot@samsung.com>
Mon, 26 Oct 2020 07:30:41 +0000 (07:30 +0000)
committerGerrit Code Review <gerrit@review>
Mon, 26 Oct 2020 07:30:41 +0000 (07:30 +0000)
wrt_app/src/runtime.ts

index 02a15b6..0f81a53 100644 (file)
@@ -71,10 +71,7 @@ class Runtime {
         XWalkExtension.initialize();
         XWalkExtension.preventCleanup();
       }
-      if (wrt.tv) {
-        wrt.tv.importCertificate('');
-        wrt.tv.clearDeadMount();
-      }
+      wrt.tv?.importCertificate('');
     });
     wrt.on('app-control', (event, appControl) => {
       console.log('app-control');