Fix Worker.terminate()

This commit is contained in:
jeromewu
2020-03-24 02:42:59 +00:00
parent 906dcd369f
commit eef80a979f
13 changed files with 30 additions and 7 deletions

View File

@@ -49,6 +49,7 @@
type: "video/mp4"
})
);
await worker.terminate();
};
const elm = document.getElementById("uploader");
elm.addEventListener("change", transcode);