fixed issue where resizer.js didn't get killed properly

This commit is contained in:
Tamius Han 2018-08-30 23:03:47 +02:00
parent 0c37c5a0e1
commit 165790db7e
2 changed files with 4 additions and 1 deletions

View File

@ -26,6 +26,9 @@ class PageInfo {
if(Debug.debug){ if(Debug.debug){
console.log("[PageInfo::destroy] destroying all videos!") console.log("[PageInfo::destroy] destroying all videos!")
} }
if(this.rescanTimer){
clearTimeout(this.rescanTimer);
}
for (var video of this.videos) { for (var video of this.videos) {
video.destroy(); video.destroy();
} }

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Ultrawidify", "name": "Ultrawidify",
"version": "3.0.2a", "version": "3.1.0a",
"applications": { "applications": {
"gecko": { "gecko": {
"id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}" "id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}"