Skip to content

Commit

Permalink
check if ssemanager exists before closing
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieSinn committed Oct 1, 2024
1 parent c1a66ec commit 03d5c86
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,9 @@ private void stopPolling() {
}

public void cleanup() {
sseManager.close();
if (sseManager != null) {
sseManager.close();
}
stopPolling();
}
}

0 comments on commit 03d5c86

Please sign in to comment.