fix: make sure we do not pass svelte state into comlink
cant clone proxies
This commit is contained in:
@@ -90,7 +90,10 @@
|
|||||||
|
|
||||||
let runIndex = 0;
|
let runIndex = 0;
|
||||||
|
|
||||||
async function update(g: Graph, s: Record<string, any> = graphSettings) {
|
async function update(
|
||||||
|
g: Graph,
|
||||||
|
s: Record<string, any> = $state.snapshot(graphSettings),
|
||||||
|
) {
|
||||||
runIndex++;
|
runIndex++;
|
||||||
performanceStore.startRun();
|
performanceStore.startRun();
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user