Skip to content

Commit 0d1f995

Browse files
Fix streamer
1 parent 8fe5991 commit 0d1f995

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/libs/world/src/streamer.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export const createStreamer = (client: Ingress): Streamer => {
5656

5757
if ("eos" in content && content.eos) {
5858
// End of stream
59-
controller.close();
6059
break;
6160
}
6261

@@ -71,7 +70,7 @@ export const createStreamer = (client: Ingress): Streamer => {
7170
}
7271
}
7372

74-
// If the loop completes without explicit eos, close the stream
73+
// Close the stream
7574
controller.close();
7675
} catch (error) {
7776
controller.error(error);

0 commit comments

Comments
 (0)