Skip to content

Commit a819612

Browse files
committed
Save changes.
1 parent 32f2676 commit a819612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,8 +647,8 @@ public void run() {
647647
if (state.getState() == SHUTDOWN) {
648648
return;
649649
}
650-
if (activeTransports == transport) {
651-
activeTransports = null;
650+
if (activeTransports.containsKey(transport)) {
651+
activeTransports.remove(transport);
652652
addressIndex.reset();
653653
gotoNonErrorState(IDLE);
654654
subchannelMetrics.recordDisconnection(/* target= */ target,

0 commit comments

Comments
 (0)