On 26/03/2015 11:29, Igor Mammedov wrote: > What value of ref, one would use to decide if deletion is possible? > > In generic case object can have ref > 1 but still be eligible for deleting > via object-del.
Right, for example devices are unparented with ref > 1. Still, it could be a sane default implementation. It doesn't even need a function pointer until someone comes up with an object that has different needs. Paolo