Make 'pending reset' streams not count towards active streams

This commit is contained in:
Sean McArthur
2019-03-12 14:39:48 -07:00
parent feff97905f
commit 492f4e7f11
7 changed files with 22 additions and 36 deletions

View File

@@ -193,6 +193,7 @@ impl ops::IndexMut<Key> for Store {
}
impl Store {
#[cfg(feature = "unstable")]
pub fn num_active_streams(&self) -> usize {
self.ids.len()
}