Fixed assertion with a side-effect - Fixes
@@ -875,8 +875,7 @@ public abstract class GridCacheStoreManagerAdapter extends GridCacheManagerAdapt
lsnr.onSessionEnd(locSes, !threwEx);
}
- assert !sesHolder.get().ended(store);
-
+ if (!sesHolder.get().ended(store))
store.sessionEnd(!threwEx);
}
}
