diff --git a/macosx/BlocklistDownloader.mm b/macosx/BlocklistDownloader.mm index 1092a59cc..26e7079b3 100644 --- a/macosx/BlocklistDownloader.mm +++ b/macosx/BlocklistDownloader.mm @@ -94,6 +94,7 @@ BlocklistDownloader* fBLDownloader = nil; [NSUserDefaults.standardUserDefaults setObject:[NSDate date] forKey:@"BlocklistNewLastUpdate"]; [BlocklistScheduler.scheduler updateSchedule]; + [self.fSession finishTasksAndInvalidate]; fBLDownloader = nil; }); } @@ -153,6 +154,7 @@ BlocklistDownloader* fBLDownloader = nil; [NSNotificationCenter.defaultCenter postNotificationName:@"BlocklistUpdated" object:nil]; + [self.fSession finishTasksAndInvalidate]; fBLDownloader = nil; }); }