Files
lightcraft/crates/engine/src
Claude d4627e9c26 #1507: dropping a Session no longer panics on the web
`face_download::Downloads::drop` gave a running download a second to stop,
with `Instant::now()` and `thread::sleep`, which panic on wasm32 ("time not
implemented on this platform"). The web host replaces its Session when the
library can't be opened, so with this branch an unreadable `catalog.log`
killed the page with the generic panic screen instead of showing the
library-problem window (found in a real-browser check of PR #1988). The wait
is skipped on wasm32, where there are no download threads; the cancel flags
are still set. Native test: an idle Downloads drops at once.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AbegtYaPuwqZ81pGfELsFK
2026-10-19 09:01:22 +00:00
..
2026-10-15 03:40:17 -04:00
2026-10-15 00:22:08 -04:00
2026-10-15 03:02:56 -04:00
2026-10-15 01:42:11 -04:00
2026-10-15 01:42:11 -04:00
2026-10-15 00:31:26 -04:00
2026-10-14 22:31:59 -04:00
2026-10-15 01:43:02 -04:00
2026-10-11 12:00:21 +00:00
2026-10-15 00:53:45 -04:00
2026-10-15 01:42:11 -04:00
2026-10-15 03:24:51 -04:00
2026-10-15 01:45:53 -04:00
2026-10-15 03:02:56 -04:00
2026-10-15 01:48:46 -04:00
2026-10-15 00:22:08 -04:00
2026-10-14 22:33:19 -04:00
2026-10-11 12:01:18 +00:00
2026-10-15 03:40:37 -04:00
2026-10-15 00:56:52 -04:00
2026-10-15 00:50:08 -04:00
2026-10-14 21:58:37 -04:00
2026-10-15 00:22:08 -04:00
2026-10-15 00:22:08 -04:00
2026-10-15 01:26:47 -04:00
2026-10-15 03:02:56 -04:00
2026-10-14 23:11:45 -04:00
2026-10-15 03:40:17 -04:00
2026-10-14 23:23:18 -04:00
2026-10-15 00:50:08 -04:00
2026-10-09 20:36:10 -04:00
2026-10-14 23:46:16 -04:00
2026-10-14 22:33:16 -04:00
2026-10-14 22:32:47 -04:00
2026-10-15 01:45:53 -04:00
2026-10-15 02:32:15 -04:00