revid: fixed mtsSender_test.go

This commit is contained in:
Saxon 2019-03-10 15:56:56 +10:30
parent f55daa02c1
commit 6a8423bfe6
1 changed files with 4 additions and 0 deletions

View File

@ -135,6 +135,8 @@ func TestSegment(t *testing.T) {
t.Fatalf("Unexpected err: %v\n", err)
}
loadSender.release()
next.Close()
next = nil
}
}
@ -219,6 +221,8 @@ func TestSendFailDiscontinuity(t *testing.T) {
loadSender.send()
loadSender.release()
next.Close()
next = nil
}
}