fix: close Actix websocket stream when browser disconnects (closes #3865) (#3866)

This commit is contained in:
Greg Johnston
2025-04-19 16:47:09 -04:00
committed by GitHub
parent 2b50ddc0db
commit b45f982feb

View File

@@ -172,6 +172,9 @@ where
Ok(Message::Text(text)) => {
_ = response_stream_tx.start_send(Ok(text.into_bytes()));
}
Ok(Message::Close(_)) => {
break;
}
Ok(_other) => {
}
Err(e) => {