From fe75cd82d6f4f4ecca9c7cd97d9cdfbae646dcff Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 28 Oct 2026 10:46:31 +0100 Subject: web: fix panic when loading an alternative hill database The load result was matched on while the scrutinee's borrow_mut() was still alive; the Ok arm called pan.borrow() again, which panics (and traps the whole wasm module, hanging the app). End the borrow before the match. --- dist/wipfel/wipfel_bg.wasm | Bin 523275 -> 523275 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'dist/wipfel/wipfel_bg.wasm') diff --git a/dist/wipfel/wipfel_bg.wasm b/dist/wipfel/wipfel_bg.wasm index 13d92ec..0ab8fbc 100644 Binary files a/dist/wipfel/wipfel_bg.wasm and b/dist/wipfel/wipfel_bg.wasm differ -- cgit v1.2.3