forked from enlightenment/efl
eo2: eo2_add_internal_end() return NULL if do_error is set
This commit is contained in:
parent
9c1856bf82
commit
541cf25723
|
@ -720,7 +720,7 @@ eo2_add_internal_end(const char *file, int line, const Eo *eo_id)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (!fptr->obj->condtor_done)
|
||||
if (!fptr->obj->condtor_done || fptr->obj->do_error)
|
||||
{
|
||||
ERR("in %s:%d: Object of class '%s' - Not all of the object constructors have been executed.",
|
||||
file, line, fptr->cur_klass->desc->name);
|
||||
|
|
Loading…
Reference in New Issue