Commit 9500bd79 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Also delete the mutex.

parent 64fbc761
...@@ -180,6 +180,7 @@ vwk_fini(struct waiter *w) ...@@ -180,6 +180,7 @@ vwk_fini(struct waiter *w)
vwk->kq = -1; vwk->kq = -1;
Lck_Unlock(&vwk->mtx); Lck_Unlock(&vwk->mtx);
AZ(pthread_join(vwk->thread, &vp)); AZ(pthread_join(vwk->thread, &vp));
Lck_Delete(&vwk->mtx);
} }
/*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment