From 00fc78b720e8a707dc6cb2ca76f38930efc9cc48 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 7 May 2023 18:49:35 +0000 Subject: [PATCH] fix --- packages/frontend/src/workers/draw-blurhash.ts | 1 + 1 file changed, 1 insertion(+) 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);