in grpc-gcp/src/main/java/com/google/cloud/grpc/GcpManagedChannel.java [1328:1342]
public ManagedChannel shutdownNow() {
logger.finer(log("Shutdown now started."));
for (ChannelRef channelRef : channelRefs) {
if (!channelRef.getChannel().isTerminated()) {
channelRef.getChannel().shutdownNow();
}
}
if (logMetricService != null && !logMetricService.isTerminated()) {
logMetricService.shutdownNow();
}
if (!stateNotificationExecutor.isTerminated()) {
stateNotificationExecutor.shutdownNow();
}
return this;
}