anvil: clear window map on drop
This commit is contained in:
parent
f8a5e8bfde
commit
99f9156f64
|
@ -217,6 +217,8 @@ pub fn run_udev(mut display: Display, mut event_loop: EventLoop<()>, log: Logger
|
|||
}
|
||||
}
|
||||
|
||||
window_map.borrow_mut().clear();
|
||||
|
||||
let mut notifier = session_event_source.unbind();
|
||||
notifier.unregister(libinput_session_id);
|
||||
notifier.unregister(udev_session_id);
|
||||
|
|
Loading…
Reference in New Issue