diff --git a/web/apps/photos/src/services/ffmpeg.ts b/web/apps/photos/src/services/ffmpeg.ts index ce6c9ca46..1d6191c35 100644 --- a/web/apps/photos/src/services/ffmpeg.ts +++ b/web/apps/photos/src/services/ffmpeg.ts @@ -201,13 +201,11 @@ const ffmpegExec = async ( /** Lazily create a singleton instance of our worker */ class WorkerFactory { - private _comlinkWorker: ComlinkWorker; private _instance: Promise>; async instance() { if (!this._instance) { const comlinkWorker = createComlinkWorker(); - this._comlinkWorker = comlinkWorker; this._instance = comlinkWorker.remote; } return this._instance;