fix(ui): implement exit method on Linux
This commit is contained in:
parent
fc69b7a79f
commit
c996bbb0f5
|
@ -54,6 +54,10 @@ impl UIRemote for LinuxRemote {
|
||||||
fn show_context_menu(&self, _: &crate::menu::Menu) {
|
fn show_context_menu(&self, _: &crate::menu::Menu) {
|
||||||
// NOOP on linux
|
// NOOP on linux
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn exit(&self) {
|
||||||
|
self.stop().expect("unable to send termination signal to ui eventloop");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct LinuxEventLoop {
|
pub struct LinuxEventLoop {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user