On Fri, 13 May 2016, at 08:09 PM, Juho Hämäläinen wrote: > Sink(-input) and source(-output) called unlink function when reference > count dropped to zero. This would result in unlink hooks being called > with object that would have zero reference count. Some of the modules > for example already have asserts checking for proper refcount. As the > asserts from these modules are seemingly rare, better to just remove > the redundant unlinking code from sink(-input) and source(-output) and > assert on reference count in unlink functions as well. > > Well behaving code if owner of said object should always unlink the > object > before unreferencing. > --- Pushing this to next now with some minor rewording of the commit message. Thanks, Arun