From c996bbb0f5c59836ea9a7def460667d1492b82c4 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Thu, 20 May 2021 20:18:54 +0200 Subject: [PATCH] fix(ui): implement exit method on Linux --- espanso-ui/src/linux/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/espanso-ui/src/linux/mod.rs b/espanso-ui/src/linux/mod.rs index 16f9f54..3135019 100644 --- a/espanso-ui/src/linux/mod.rs +++ b/espanso-ui/src/linux/mod.rs @@ -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 {