-
fix: rebuild file picker after FFFClearCache files (#772) (#773)
发布于
2026-08-14 16:10:03 +00:00 clear_cache('files') drops the Rust picker but core.lua kept
state.file_picker_initialized set, so ensure_initialized short-circuited
on state.initialized and never rebuilt it. Every later FFFScan/search then
ran against a dropped picker (watcher logs "File picker not initialized"),
which SIGSEGVs on Linux.Split ensure_initialized: one-time setup stays gated on state.initialized,
picker creation is gated separately on state.file_picker_initialized.
clear_cache now clears that flag via mark_file_picker_uninitialized so the
next ensure_initialized rebuilds the picker.Closes #772
Co-authored-by: gustav-fff 286169375+gustav-fff@users.noreply.github.com
下载附件