Browse Source

Attach handlers before invoke

pull/438/head
Ionite 10 months ago
parent
commit
df22b23916
No known key found for this signature in database
  1. 4
      StabilityMatrix.Core/Services/TrackedDownloadService.cs

4
StabilityMatrix.Core/Services/TrackedDownloadService.cs

@ -76,10 +76,10 @@ public class TrackedDownloadService : ITrackedDownloadService, IDisposable
// Add to dictionary
downloads.TryAdd(download.Id, (download, jsonFileStream));
OnDownloadAdded(download);
// Connect to state changed event to update json file
AttachHandlers(download);
OnDownloadAdded(download);
}
/// <summary>

Loading…
Cancel
Save