[VD] ClearAllTilesResources for Deeplink 54/224054/2
authorDongHyun Song <dh81.song@samsung.com>
Thu, 6 Feb 2020 03:39:04 +0000 (12:39 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Thu, 6 Feb 2020 03:39:59 +0000 (12:39 +0900)
To solve unexpected flickering issue, this patch will call
ClearAllTilesResources when deeplink reloading case

Related patch:
  https://review.tizen.org/gerrit/224035

Change-Id: I2568f6906241d45fc3730a63614e8af12bb3354c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
wrt_app/src/web_application.js

index 5c47d366d559263e13b064f58800753123a7d302..54290507579bbc8bb491d2d0360d8e61030ca8a3 100755 (executable)
@@ -401,6 +401,8 @@ class WebApplication {
         }
     }
     closeWindows() {
+        if (wrt.tv)
+            wrt.tv.clearSurface(this.mainWindow.webContents);
         this.windowList.forEach((window) => {
             if (window != this.mainWindow)
                 window.destroy();