Skip to content

Commit

Permalink
Main: Don't delete connection index on close cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
mkwcat committed May 10, 2024
1 parent 2c137ed commit 3c5c165
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,6 @@ func (r *RPCFrontendPacket) CloseConnection(args RPCFrontendPacket, _ *struct{})
return ErrBadIndex
}

delete(connections[args.Server], args.Index)

return (*conn).Close()
}

Expand Down

0 comments on commit 3c5c165

Please sign in to comment.