Skip to content

Commit

Permalink
Remove channel close check
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Jul 26, 2023
1 parent d73806a commit 4ee1a3f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions runtime/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ export const websocket = async <
channel.closed.wait(),
]);
while (true) {
if (channel.closed.is_set()) {
return;
}
try {
events.push(
yield {
Expand Down

0 comments on commit 4ee1a3f

Please sign in to comment.