Skip to content

Commit

Permalink
fix(init): clippy warnings in start_reactor() Static variant
Browse files Browse the repository at this point in the history
  • Loading branch information
AMythicDev committed Dec 18, 2023
1 parent e863d9d commit 68ca3ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ fn start_reactor(
// Cleanup the screen
//
// This is not needed in dynamic paging because this is already handled by handle_event
let p = ps.lock();
term::cleanup(&mut out_lock, &p.exit_strategy, true)?;
let exit_strategy = &ps.lock().exit_strategy;
term::cleanup(&mut out_lock, exit_strategy, true)?;

let mut rm = RUNMODE.lock();
*rm = RunMode::Uninitialized;
Expand Down

0 comments on commit 68ca3ac

Please sign in to comment.