Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
poorbarcode committed Jul 26, 2024
1 parent 98d122e commit bf8b6a9
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 bf8b6a9

Please sign in to comment.