We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13eec75 commit 1e46b4cCopy full SHA for 1e46b4c
src/lib.rs
@@ -420,6 +420,7 @@ impl<'a> FlatpakManager<'a> {
420
if fs::metadata(&build_dir).is_ok() {
421
fs::remove_dir_all(&build_dir)?;
422
println!("{} Cleaned .flatplay directory.", "✔".green());
423
+ self.state.reset();
424
}
425
Ok(())
426
src/state.rs
@@ -59,10 +59,11 @@ impl State {
59
60
61
62
+ /// Resets the state to its initial values.
63
+ /// This is specifically only for build progress. Not general state.
64
pub fn reset(&mut self) {
65
self.dependencies_updated = false;
66
self.dependencies_built = false;
67
self.application_built = false;
- self.process_group_id = None;
68
69
0 commit comments