protected override void Dispose(Boolean disposing)
{
base.Dispose(disposing);
if (!disposing)
return;
lock (this.syncLock)
{
WaitOnPendingFlush();
this.timer.Change(Timeout.Infinite, Timeout.Infinite);
this.bufferStream.Dispose();
this.timer.Dispose();
}
}