log stream GC

This commit is contained in:
Lucas Clemente
2016-06-06 23:37:10 +02:00
parent 6475a5bb3e
commit 0d6dbfe746

View File

@@ -641,6 +641,7 @@ func (s *Session) garbageCollectStreams() {
s.windowUpdateManager.RemoveStream(k)
}
if v.finished() {
utils.Debugf("Garbage-collecting stream %d", k)
atomic.AddUint32(&s.openStreamsCount, ^uint32(0)) // decrement
s.streams[k] = nil
}