Follow-up to admin channel change (7d2d42542c).
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
2a627baa96
commit
3ea8c82ef0
1 changed files with 4 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ struct Services {
|
|||
}
|
||||
|
||||
/// Inputs to a command are a multi-line string and optional reply_id.
|
||||
#[derive(Debug)]
|
||||
#[derive(Clone, Debug, Default)]
|
||||
pub struct CommandInput {
|
||||
pub command: String,
|
||||
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(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue