minor fixes

This commit is contained in:
Stanley Dimant
2022-09-09 17:42:21 +02:00
parent ce1a1187f0
commit 6bf16e1d56
2 changed files with 3 additions and 1 deletions

View File

@@ -342,7 +342,7 @@ namespace MareSynchronos.WebAPI
_uploadCancellationTokenSource?.Cancel();
Logger.Info("Stopping existing connection");
_mareHub.Closed -= MareHubOnClosed;
_mareHub.Reconnecting += MareHubOnReconnecting;
_mareHub.Reconnecting -= MareHubOnReconnecting;
await _mareHub.StopAsync(token);
await _mareHub.DisposeAsync();
CurrentUploads.Clear();