diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 0659a09..ddf7d4e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,11 +64,12 @@ fn main() -> HResult<()> { // do this early so it might be ready when needed crate::files::load_tags().ok(); - let core = WidgetCore::new().expect("Can't create WidgetCore!"); + let mut core = WidgetCore::new().expect("Can't create WidgetCore!"); match run(core.clone()) { Ok(_) => Ok(()), Err(err) => { + core.screen.drop_screen(); eprintln!("{:?}\n{:?}", err, err.cause()); return Err(err); } |