diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 12:35:11 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 12:35:11 +0100 |
| commit | a436af8b35dacde89ec97e18134b02acf52f159c (patch) | |
| tree | 9562d5d8e6091aa1f9e5fc05da0ace2fc7f3200c /wipfel-droid/gradle/wrapper | |
| parent | 8431ea2ac57d64a98ac79e302934c3edf9bf3e55 (diff) | |
web: fix RefCell double-borrow panic in click fast path
`if let Some(idx) = nearest_hill(&pan.borrow(), ...)` keeps the
immutable borrow alive through the whole if-let block (temporary
lifetime in the scrutinee). Marking a peak from that path called
do_refit -> borrow_mut() -> panic, which aborted the wasm instance and
froze all further interaction (no marker removal, no drag refit).
Scope the borrow to its own block.
Diffstat (limited to 'wipfel-droid/gradle/wrapper')
0 files changed, 0 insertions, 0 deletions
