mirror of https://bitbucket.org/ausocean/av.git
revid: fixed mtsSender_test.go
This commit is contained in:
parent
f55daa02c1
commit
6a8423bfe6
|
@ -135,6 +135,8 @@ func TestSegment(t *testing.T) {
|
||||||
t.Fatalf("Unexpected err: %v\n", err)
|
t.Fatalf("Unexpected err: %v\n", err)
|
||||||
}
|
}
|
||||||
loadSender.release()
|
loadSender.release()
|
||||||
|
next.Close()
|
||||||
|
next = nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -219,6 +221,8 @@ func TestSendFailDiscontinuity(t *testing.T) {
|
||||||
|
|
||||||
loadSender.send()
|
loadSender.send()
|
||||||
loadSender.release()
|
loadSender.release()
|
||||||
|
next.Close()
|
||||||
|
next = nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue