protected override void Dispose(bool disposing) { if (disposing) { if (stats != null) stats.Clear(); } stats = null; session = null; base.Dispose(disposing); }