We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8854e1c commit 4e620c3Copy full SHA for 4e620c3
1 file changed
src/Foundatio.AWS/Messaging/SQSMessageBus.cs
@@ -383,7 +383,7 @@ await _sqsClient.Value.SetQueueAttributesAsync(new SetQueueAttributesRequest
383
}
384
385
386
- protected override async Task CleanupAsync()
+ protected override async Task RemoveTopicSubscriptionAsync()
387
{
388
if (_subscriberCts is not null)
389
@@ -416,7 +416,10 @@ protected override async Task CleanupAsync()
416
_logger.LogWarning(ex, "Error waiting for subscriber task to complete during dispose");
417
418
419
+ }
420
421
+ protected override async Task CleanupAsync()
422
+ {
423
_subscriberCts?.Dispose();
424
425
if (!String.IsNullOrEmpty(_subscriptionArn) && _snsClient.IsValueCreated)
0 commit comments