public override void Dispose() { SqsClient.Dispose(); S3Client.Dispose(); base.Dispose(); }
public void Dispose() { DequeueStrategy.Stop(); if (S3Client != null) { S3Client.Dispose(); } if (SqsClient != null) { SqsClient.Dispose(); } }
/// <summary> /// Dispose of this object /// </summary> /// <param name="disposing">Dispose of managed resources?</param> protected virtual void Dispose(bool disposing) { if (disposing) { if (SqsClient != null) { SqsClient.Dispose(); } if (S3Client != null) { S3Client.Dispose(); } } }
public void Dispose() { SnsClient.Dispose(); SqsClient.Dispose(); }