Skip to content

Commit

Permalink
handle reaction exit cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mmrrnn committed Jul 17, 2024
1 parent 5fe6874 commit 217e60c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cli/src/dashboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ impl Do<Reaction> for Dashboard {
state.state.apply(delta);
}
},
Reaction::Exit => {}
}
// Reporting about the state has changed - this gets triggered for every event, so isn't very efficient.
if let Some(state) = self.state.as_mut() {
Expand Down
1 change: 1 addition & 0 deletions libs/sdm-launchpad/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ impl TestStateInner {
state.apply(delta);
}
},
Reaction::Exit => {}
}
Ok(())
}
Expand Down

0 comments on commit 217e60c

Please sign in to comment.