error code changed to LOCK_DESTROY
This commit is contained in:
parent
cf664ca970
commit
ca0250c018
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ lumiera_reccondition_destroy (LumieraReccondition self, struct nobug_flag* flag)
|
||||||
NOBUG_RESOURCE_FORGET_RAW (flag, self->rh);
|
NOBUG_RESOURCE_FORGET_RAW (flag, self->rh);
|
||||||
|
|
||||||
if (pthread_mutex_destroy (&self->mutex))
|
if (pthread_mutex_destroy (&self->mutex))
|
||||||
LUMIERA_DIE (MUTEX_DESTROY);
|
LUMIERA_DIE (LOCK_DESTROY);
|
||||||
|
|
||||||
if (pthread_cond_destroy (&self->cond))
|
if (pthread_cond_destroy (&self->cond))
|
||||||
LUMIERA_DIE (CONDITION_DESTROY);
|
LUMIERA_DIE (CONDITION_DESTROY);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue