diff --git a/server/src/stream/Session.ts b/server/src/stream/Session.ts index 9b2e4d33..718511d6 100644 --- a/server/src/stream/Session.ts +++ b/server/src/stream/Session.ts @@ -292,6 +292,6 @@ export abstract class Session< } isStale(): boolean { - return isEmpty(this.removeStaleConnections()); + return this.state !== 'starting' && isEmpty(this.removeStaleConnections()); } }