Do not assume registry is present
prior to derefencing DataObject::registry()
, first check that the return value is not a nullptr
Edited by Marco Cattaneo
prior to derefencing DataObject::registry()
, first check that the return value is not a nullptr