fix panic when a stream is canceled (#164)

This commit is contained in:
Sean McArthur
2017-10-20 17:47:58 -07:00
committed by GitHub
parent 0ed1460016
commit 75db186378
3 changed files with 38 additions and 1 deletions

View File

@@ -507,7 +507,6 @@ impl Prioritize {
match self.pending_send.pop(store) {
Some(mut stream) => {
trace!("pop_frame; stream={:?}", stream.id);
debug_assert!(!stream.pending_send.is_empty());
let is_counted = stream.is_counted();