removed useless closure

This commit is contained in:
CPunch 2023-12-04 20:33:53 -06:00
parent c4d885cf6d
commit d1763418a8

View File

@ -103,9 +103,7 @@ func TestLoginSuccSequence(t *testing.T) {
recv := make(chan *cnet.PacketEvent)
peer := makeDummyPeer(ctx, is, recv)
defer func() {
peer.Kill()
}()
defer peer.Kill()
// send login request (this should create an account)
err := peer.Send(protocol.P_CL2LS_REQ_LOGIN, protocol.SP_CL2LS_REQ_LOGIN{