fix(ui): implement exit method on Linux

This commit is contained in:
Federico Terzi 2021-05-20 20:18:54 +02:00
parent fc69b7a79f
commit c996bbb0f5

View File

@ -54,6 +54,10 @@ impl UIRemote for LinuxRemote {
fn show_context_menu(&self, _: &crate::menu::Menu) {
// NOOP on linux
}
fn exit(&self) {
self.stop().expect("unable to send termination signal to ui eventloop");
}
}
pub struct LinuxEventLoop {