Follow-up to admin channel change (7d2d42542c).

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-07-08 12:46:14 +00:00
parent 2a627baa96
commit 3ea8c82ef0

View File

@@ -44,7 +44,7 @@ struct Services {
} }
/// Inputs to a command are a multi-line string and optional reply_id. /// Inputs to a command are a multi-line string and optional reply_id.
#[derive(Debug)] #[derive(Clone, Debug, Default)]
pub struct CommandInput { pub struct CommandInput {
pub command: String, pub command: String,
pub reply_id: Option<OwnedEventId>, pub reply_id: Option<OwnedEventId>,
@@ -122,7 +122,9 @@ impl crate::Service for Service {
} }
} }
self.console_auto_stop().await; //TODO: not unwind safe //TODO: not unwind safe
self.interrupt();
self.console_auto_stop().await;
Ok(()) Ok(())
} }