Skip to content

Commit cea04f2

Browse files
committed
Merge remote-tracking branch 'origin/rework-orphan-wrapper-pr' into rework-orphan-wrapper-pr
2 parents e5d24f5 + 24d9b96 commit cea04f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/java/io/grpc/internal/ManagedChannelOrphanWrapper.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,12 @@ public ManagedChannel shutdown() {
7373

7474
@Override
7575
public ManagedChannel shutdownNow() {
76-
ManagedChannel result = super.shutdownNow();
7776
phantom.clearSafely();
7877
// This dummy check prevents the JIT from collecting 'this' too early
7978
if (this.getClass() == null) {
8079
throw new AssertionError();
8180
}
82-
return result;
81+
return super.shutdownNow();
8382
}
8483

8584
@VisibleForTesting

0 commit comments

Comments
 (0)