mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 03:45:24 +00:00
os/threading: fix assert in debug build
This commit is contained in:
parent
112dc3197f
commit
e1f02b4629
|
@ -167,7 +167,7 @@ os_mutex_recursive_destroy(struct os_mutex *om)
|
|||
assert(om->initialized);
|
||||
assert(om->recursive);
|
||||
|
||||
os_mutex_destroy(om);
|
||||
pthread_mutex_destroy(&om->mutex);
|
||||
|
||||
#ifndef NDEBUG
|
||||
om->initialized = false;
|
||||
|
|
Loading…
Reference in a new issue