|
@@ -336,10 +336,10 @@ export class RoomAssistant {
|
|
} else {
|
|
} else {
|
|
this.closeRoom(roomId, userId, user);
|
|
this.closeRoom(roomId, userId, user);
|
|
}
|
|
}
|
|
- this.removeRoomSession(this.room.sessionId);
|
|
|
|
|
|
+ this.removeRoomSession(this.room);
|
|
}
|
|
}
|
|
|
|
|
|
- removeRoomSession(roomSessionId) {
|
|
|
|
|
|
+ async removeRoomSession(roomSessionId) {
|
|
await this.redis.del(getInKey(roomSessionId));
|
|
await this.redis.del(getInKey(roomSessionId));
|
|
}
|
|
}
|
|
|
|
|