Skip to content

Commit

Permalink
Use the internal flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Apr 27, 2023
1 parent e3b7d5d commit c4d0388
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public final HBResultType<RS, RF> login(

private void checkNotClosed()
{
if (this.closedExternal.get()) {
if (this.closedInternal.get()) {
throw new IllegalStateException("Client is closed!");
}
}
Expand All @@ -214,7 +214,7 @@ private void publishState(
return;
}

if (this.closedExternal.get()) {
if (this.closedInternal.get()) {
return;
}

Expand Down

0 comments on commit c4d0388

Please sign in to comment.