Skip to content

Commit 98c76df

Browse files
committed
Say in the changelog that a live-screen reconnect stops killing itself
1 parent ef8534d commit 98c76df

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ Newest first. `Unreleased` is what is on `main` and not yet tagged.
88

99
## Unreleased
1010

11+
### Reconnecting a live screen no longer stops the screen you just reconnected
12+
13+
A Bot's screen allows one viewer, and opening a second `/stream` replaces the first. The replaced
14+
socket is left open, because it belongs to a client that may still be using it, so on an ordinary
15+
reconnect, where the browser opens the new connection before dropping the old one, the old socket
16+
closed after the new one was already casting. Closing it stopped the session's viewer without asking
17+
whether the closing socket was the one casting, so it stopped the replacement.
18+
19+
Both halves were silent. The screen stopped updating, and anything typed afterwards was dropped
20+
without a word, because the input path looks for a viewer before it looks for anything it can report.
21+
22+
A close now stops casting only when the socket closing is the one that was casting.
23+
1124
## 0.0.4
1225

1326
### A click citing a ref this deployment cannot resolve is refused

0 commit comments

Comments
 (0)