Skip to content

Commit

Permalink
Merge pull request #77 from YAPP-Github/develop
Browse files Browse the repository at this point in the history
2024.08.25 2차 운영 배포
  • Loading branch information
SunwoongH authored Aug 24, 2024
2 parents 8066da3 + 49a2e43 commit 9c2fc01
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ internal class MainWebSocketHandler(
private val waitingQueueSessionUseCase: WaitingQueueSessionUseCase,
private val router: WebSocketRouter,
private val requestParser: WebSocketRequestParser,
private val waitingQueueSessionEventListener: List<WaitingQueueSessionEventListener>,
private val sessionEventListener: List<SessionEventListener>,
private val webSocketExceptionHandler: WebSocketExceptionHandler,
private val metricManager: MetricManager,
Expand Down Expand Up @@ -51,7 +52,9 @@ internal class MainWebSocketHandler(
val waitingQueueSessionDto = waitingQueueSessionUseCase.getSession(SessionId(session.id))

if (waitingQueueSessionDto != null) {
waitingQueueSessionUseCase.unregisterSession(SessionId(session.id))
waitingQueueSessionEventListener.forEach {
it.exitSession(waitingQueueSessionDto)
}
return
}

Expand Down

0 comments on commit 9c2fc01

Please sign in to comment.