aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/routes
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-09-29 09:50:52 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-09-29 09:50:52 -0500
commit2b8dc996445db048e914e3b619cef7375d67435e (patch)
treeecb8c03e74cdb9c4b30026af3abac5fc61d436b3 /app/src/routes
parentDestroy web worker when navigated away (diff)
downloadtrinkets-2b8dc996445db048e914e3b619cef7375d67435e.tar
trinkets-2b8dc996445db048e914e3b619cef7375d67435e.tar.gz
trinkets-2b8dc996445db048e914e3b619cef7375d67435e.tar.bz2
trinkets-2b8dc996445db048e914e3b619cef7375d67435e.tar.lz
trinkets-2b8dc996445db048e914e3b619cef7375d67435e.tar.xz
trinkets-2b8dc996445db048e914e3b619cef7375d67435e.tar.zst
trinkets-2b8dc996445db048e914e3b619cef7375d67435e.zip
Update dep + fix build
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--app/src/routes/truncate/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/routes/truncate/+page.svelte b/app/src/routes/truncate/+page.svelte
index e0dda30..635b6bc 100644
--- a/app/src/routes/truncate/+page.svelte
+++ b/app/src/routes/truncate/+page.svelte
@@ -33,7 +33,7 @@
});
onDestroy(() => {
- worker.terminate()
+ worker?.terminate()
})
</script>