Skip to content

Commit

Permalink
🐛 DisconnectedState should be set to DisconnectedState again after re…
Browse files Browse the repository at this point in the history
…solve failure (#301)
  • Loading branch information
guiyanakuang authored Feb 5, 2024
1 parent 1e6aabe commit 81a4137
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class DisconnectedState(private val clientHandler: ClientHandler): ConnectState
telnetUtils.switchHost(syncRuntimeInfo.hostInfoList, syncRuntimeInfo.port)?.let { hostInfo ->
clientHandler.updateSyncStateWithHostInfo(SyncState.Companion.CONNECTING, hostInfo, syncRuntimeInfo.port)
} ?: run {
clientHandler.updateSyncState(SyncState.Companion.UNMATCHED)
clientHandler.updateSyncState(SyncState.Companion.DISCONNECTED)
}
}

Expand Down

0 comments on commit 81a4137

Please sign in to comment.