Another comment

pull/23418/head
Yash Tibrewal 4 years ago
parent 98684b59f9
commit e03b0b6deb
  1. 6
      src/core/ext/filters/client_channel/client_channel.cc

@ -1216,9 +1216,9 @@ void ChannelData::ExternalConnectivityWatcher::
(*external_watchers).erase(it);
}
}
if (watcher != nullptr && cancel) {
watcher->Cancel();
}
// watcher->Cancel() will hop into the WorkSerializer, so we have to unlock
// the mutex before calling it.
if (watcher != nullptr && cancel) watcher->Cancel();
}
void ChannelData::ExternalConnectivityWatcher::Start() {

Loading…
Cancel
Save