mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-24 00:00:18 +00:00
removed useless closure
This commit is contained in:
parent
c4d885cf6d
commit
d1763418a8
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user