Commit aa12e43b authored by Yoni Fogel's avatar Yoni Fogel

Addresses #1683 Destroy lock when closing down.

git-svn-id: file:///svn/toku/tokudb@11282 c7de825b-a66e-492c-adef-691d508d4ae1
parent e7c60ec3
......@@ -126,6 +126,7 @@ toku_minicron_shutdown(struct minicron *p) {
if (r!=0) fprintf(stderr, "%s:%d r=%d (%s)\n", __FILE__, __LINE__, r, strerror(r));
assert(r==0); assert(returned_value==0);
r = toku_pthread_cond_destroy(&p->condvar); assert(r==0);
r = toku_pthread_mutex_destroy(&p->mutex); assert(r==0);
//printf("%s:%d shutdowned\n", __FILE__, __LINE__);
return 0;
}
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