protected override void PerformDisposal(ICollection<ISession> sessions)
{
if (hasSessionError || FlushAction == FlushAction.Never)
{
PerformDisposal(sessions, false, true);
}
else if (FlushAction == FlushAction.Auto)
{
PerformDisposal(sessions, true, true);
}
}