Skip to content

Commit

Permalink
Fix NullPointerException if connection is closed after server goes aw…
Browse files Browse the repository at this point in the history
…ay (#4727)
  • Loading branch information
mattrunyon committed Oct 27, 2023
1 parent 370c744 commit efe0664
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,10 @@ public void forceClose() {
}

newSessionReconnect.disconnected();
DomGlobal.clearTimeout(scheduledAuthUpdate);
if (scheduledAuthUpdate != null) {
DomGlobal.clearTimeout(scheduledAuthUpdate);
scheduledAuthUpdate = null;
}
}

public void setSessionTimeoutMs(double sessionTimeoutMs) {
Expand Down

0 comments on commit efe0664

Please sign in to comment.