Hold the sess mutex when evaluating r2->cond
The extra locking prevents the race where a request thread is setting r2->cond = NULL and the session thread is testing r2->cond != NULL. Fixes: #2434
Showing
Please register or sign in to comment