Skip to content

Commit b9e06b4

Browse files
committed
Fixing the pubsub stop
1 parent 476dd87 commit b9e06b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GooglePubSub/src/Eventuous.GooglePubSub/Subscriptions/GooglePubSubSubscription.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ CancellationToken cancellationToken
206206
}
207207

208208
public async Task Stop(CancellationToken cancellationToken = default) {
209-
await _subscriberTask.NoContext();
210209
if (_client != null) await _client.StopAsync(cancellationToken).NoContext();
210+
await _subscriberTask.NoContext();
211211
}
212212

213213
public async Task CreateSubscription(

0 commit comments

Comments
 (0)