protected override void Dispose(bool disposing) { if (disposing) { // release other disposable objects IoCGlobal.MarkInstanceForDisposal(this); } }
protected override void Dispose(bool disposing) { //ReleaseBuffer(buffer); // release unmanaged memory if (disposing) { // release other disposable objects IoCGlobal.MarkInstanceForDisposal(this); } }