more ref. count tracking and break some loops

This commit is contained in:
Michael Davidsaver
2016-01-29 16:15:34 -05:00
parent 9d561f63a6
commit aecd8471e1
6 changed files with 43 additions and 4 deletions
+2
View File
@@ -148,6 +148,8 @@ MonitorCacheEntry::monitorEvent(pvd::MonitorPtr const & monitor)
continue;
}
// we only come out of overflow when downstream release()s an element to us
// empty.empty() does not imply inoverflow,
// however inoverflow does imply empty.empty()
assert(!usr->inoverflow);
if(usr->filled.empty())