fix: Dispose subscription in TopOfBookQuoter demo

This commit is contained in:
John Colvin committed 2026-01-14 10:35:42 -05:00
1 parent 84d74a7873
commit 5fcbb6b8b3
1 file changed
+1
@@ -151,6 +151,7 @@ class TopOfBookQuoter : IHostedService {
public Task StopAsync(CancellationToken cancellationToken) {
logger.LogInformation("RequoteTopOfBookDemo stopping");
Disposable.Dispose(ref subscription);
logger.LogInformation("RequoteTopOfBookDemo stopped");
return Task.CompletedTask;
}