fix: Fix progress reporting getting stuck

This commit is contained in:
Lukas Wirth 2024-01-17 13:23:00 +01:00
parent 2b02df27c5
commit 0bdbf497b6
6 changed files with 66 additions and 32 deletions

View file

@ -52,7 +52,7 @@ pub enum Message {
/// The total files to be loaded.
n_total: usize,
/// The files that have been loaded successfully.
n_done: usize,
n_done: Option<usize>,
/// The dir being loaded, `None` if its for a file.
dir: Option<AbsPathBuf>,
/// The [`Config`] version.