Increment Stream.refs when sending a push promise

This commit is contained in:
Michael Beaumont
2020-08-17 21:20:17 +02:00
committed by Sean McArthur
parent 6d80bd454e
commit d3c2bba18b

View File

@@ -1005,6 +1005,7 @@ impl<B> StreamRef<B> {
return Err(err.into());
}
me.refs += 1;
let opaque =
OpaqueStreamRef::new(self.opaque.inner.clone(), &mut me.store.resolve(child_key));