We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 20d9eff + cdaca1d commit cf85526Copy full SHA for cf85526
core/src/main/java/io/grpc/internal/ManagedChannelOrphanWrapper.java
@@ -72,12 +72,13 @@ public ManagedChannel shutdown() {
72
73
@Override
74
public ManagedChannel shutdownNow() {
75
+ ManagedChannel result = super.shutdownNow();
76
phantom.clearSafely();
77
// This dummy check prevents the JIT from collecting 'this' too early
78
if (this.getClass() == null) {
79
throw new AssertionError();
80
}
- return super.shutdownNow();
81
+ return result;
82
83
84
@VisibleForTesting
0 commit comments