fix(server): do not restart static channels on reactivation

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2025-01-20 16:25:23 +04:00 committed by Benoît Cortier
parent c4587b537c
commit 82c7c2f5b0
2 changed files with 12 additions and 8 deletions

View file

@ -43,6 +43,7 @@ pub struct AcceptorResult {
pub input_events: Vec<Vec<u8>>,
pub user_channel_id: u16,
pub io_channel_id: u16,
pub reactivation: bool,
}
impl Acceptor {
@ -150,6 +151,7 @@ impl Acceptor {
input_events,
user_channel_id: self.user_channel_id,
io_channel_id: self.io_channel_id,
reactivation: self.reactivation,
}),
previous_state => {
self.state = previous_state;