Skip to content

Commit

Permalink
fix: active room (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmbanan666 authored Jan 18, 2025
1 parent 5938fcf commit 9b4bc3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/website/server/core/rooms/wagon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ export class WagonRoom extends BaseRoom {
}

closeRoomOnFinish() {
if (this.status !== 'ACTIVE') {
return
}

// if wagon is on last chunk - close room
const lastChunk = this.chunks[this.chunks.length - 1]
if (!lastChunk) {
Expand Down

0 comments on commit 9b4bc3f

Please sign in to comment.