Using pwp

This commit is contained in:
2026-07-23 00:54:17 +02:00
parent ad84145f12
commit e3ddaa4375
3 changed files with 88 additions and 96 deletions
+3
View File
@@ -82,6 +82,9 @@ impl TerminalServer {
if let Err(e) = clients[i].write(&msg).await {
clients.remove(i);
println!("{e:?}");
} else if let Err(e) = clients[i].flush().await {
clients.remove(i);
println!("{e:?}");
}
}