Eo: Print an ERR when deleting an object with data refs.

This commit is contained in:
Tom Hacohen 2016-02-18 15:53:40 +00:00
parent 41d92d0893
commit ec2f92e35f
1 changed files with 1 additions and 2 deletions

View File

@ -245,12 +245,11 @@ _eo_free(_Eo_Object *obj)
{
_Eo_Class *klass = (_Eo_Class*) obj->klass;
#ifdef EO_DEBUG
if (obj->datarefcount)
{
ERR("Object %p data still referenced %d time(s).", obj, obj->datarefcount);
}
#endif
_eo_id_release((Eo_Id) _eo_id_get(obj));
eina_spinlock_take(&klass->objects.trash_lock);