efl - fix threadqueue spinlock destruction on openbsd - doesn't like it

so the spinlock on the threadqueue block pool it taken on shutdownn,
while the block pool is freed up then its is destroyed, but openbsd
very much doesnt like this and returns an error, so release the lock
before destroying it.

@fix
This commit is contained in:
Carsten Haitzler 2016-03-02 10:33:40 +09:00
parent 9d3391e350
commit 7920e66f29
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ _eina_thread_queue_msg_block_pool_shutdown(void)
_eina_thread_queue_block_pool = blknext;
}
}
eina_spinlock_release(&(_eina_thread_queue_block_pool_lock));
eina_spinlock_free(&_eina_thread_queue_block_pool_lock);
}