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