main: Fix crash on shutdown
This commit is contained in:
parent
a0e0f5a1d3
commit
373eed4ac5
2 changed files with 9 additions and 1 deletions
|
|
@ -60,6 +60,10 @@ fn main() -> Result<()> {
|
|||
state.common.spaces.refresh();
|
||||
})?;
|
||||
|
||||
let _log = state.destroy();
|
||||
// drop eventloop before logger
|
||||
std::mem::drop(event_loop);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue