Commit 835e2407 authored by Bob Halley's avatar Bob Halley
Browse files

The lock must be held when calling SIGNAL

parent 131b0092
......@@ -622,11 +622,11 @@ isc_timermgr_destroy(isc_timermgr_t **managerp) {
REQUIRE(EMPTY(manager->timers));
manager->done = ISC_TRUE;
UNLOCK(&manager->lock);
XTRACE("signal (destroy)");
SIGNAL(&manager->wakeup);
UNLOCK(&manager->lock);
/*
* Wait for thread to exit.
*/
......
Supports Markdown
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