Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
poorbarcode committed Jul 15, 2024
1 parent c4c37d0 commit 68143c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ protected void receivedSessionEvent(SessionEvent event) {
isConnected = event.isConnected();

// Clear cache after session expired.
if (event == SessionEvent.SessionLost) {
if (event == SessionEvent.SessionLost || event == SessionEvent.ConnectionLost) {
for (MetadataCacheImpl metadataCache : metadataCaches) {
metadataCache.invalidateAll();
}
Expand Down

0 comments on commit 68143c4

Please sign in to comment.