Skip to content
Snippets Groups Projects
Commit decdff92 authored by Nicolas "Pixel" Noble's avatar Nicolas "Pixel" Noble
Browse files

Fixing potential hitch in iomgr shutdown.

The background_callback_executor may sit on the condition as well. If we're not broadcasting the condition, it may eat the condition signal, and starve the shutdown sequence of it.
parent 8c0596ed
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ void grpc_iomgr_ref(void) {
void grpc_iomgr_unref(void) {
gpr_mu_lock(&g_mu);
if (0 == --g_refs) {
gpr_cv_signal(&g_cv);
grpc_kick_poller();
}
gpr_mu_unlock(&g_mu);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment