diff --git a/packages/frontend/src/workers/draw-blurhash.ts b/packages/frontend/src/workers/draw-blurhash.ts index c8d9217fe5..3a19c63cc0 100644 --- a/packages/frontend/src/workers/draw-blurhash.ts +++ b/packages/frontend/src/workers/draw-blurhash.ts @@ -9,6 +9,7 @@ onmessage = async (event) => { } if (event.data.delete) { canvases.delete(event.data.id); + return; } if (event.data.canvas) { canvases.set(event.data.id, event.data.canvas);