From 165790db7e9f0f69e81d154cd64f02ce61e78911 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Thu, 30 Aug 2018 23:03:47 +0200 Subject: [PATCH] fixed issue where resizer.js didn't get killed properly --- js/modules/PageInfo.js | 3 +++ manifest.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/js/modules/PageInfo.js b/js/modules/PageInfo.js index a04901e..fd496e1 100644 --- a/js/modules/PageInfo.js +++ b/js/modules/PageInfo.js @@ -26,6 +26,9 @@ class PageInfo { if(Debug.debug){ console.log("[PageInfo::destroy] destroying all videos!") } + if(this.rescanTimer){ + clearTimeout(this.rescanTimer); + } for (var video of this.videos) { video.destroy(); } diff --git a/manifest.json b/manifest.json index 2ee8143..da4e0a6 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Ultrawidify", - "version": "3.0.2a", + "version": "3.1.0a", "applications": { "gecko": { "id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}"