Skip to content

Commit

Permalink
Update internal/packetmuxer/service.go
Browse files Browse the repository at this point in the history
Co-authored-by: Simone Basso <[email protected]>
  • Loading branch information
ainghazal and bassosimone authored Jan 30, 2024
1 parent f30db74 commit 582ef20
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/packetmuxer/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,7 @@ func (ws *workersState) startHardReset() error {
ws.hardResetCount += 1

// emit a CONTROL_HARD_RESET_CLIENT_V2 pkt
first := false
if ws.hardResetCount == 1 {
first = true
}
first := ws.hardResetCount == 1

packet, err := ws.sessionManager.NewHardResetPacket(first)
if err != nil {
Expand Down

0 comments on commit 582ef20

Please sign in to comment.