mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-05 16:31:27 +03:00
close all connections when stop service
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -90,6 +90,8 @@ impl RendezvousMediator {
|
||||
}));
|
||||
}
|
||||
join_all(futs).await;
|
||||
} else {
|
||||
server.write().unwrap().close_connections();
|
||||
}
|
||||
sleep(1.).await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user