protected virtual void Dispose(bool disposing) { if (!_disposed) { if (_encoder.IsAssigned()) { _encoder.Dispose(); _encoder = null; } } _disposed = true; }
protected virtual void Dispose(bool disposing) { if (!_disposed) { if (_decoder.IsAssigned()) { _decoder.Dispose(); // resources vrijgeven. _decoder = null; } } _disposed = true; }