mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
Made it impossible to add duplicated updaters to queue.
This commit is contained in:
1 parent
48ab89338b
commit
5e906948f3
1 file changed
+1
-1
+1
-1
@@ -216,7 +216,7 @@
|
||||
NSMutableArray *updaters = self.updaters;
|
||||
@synchronized (updaters)
|
||||
{
|
||||
//if (![updaters containsObject:updater])
|
||||
if (![updaters containsObject:updater])
|
||||
{
|
||||
[self updateUpdaterDelegate:updater];
|
||||
[updater addObserver:self forKeyPath:@"delegate" options:NSKeyValueObservingOptionNew context:NULL];
|
||||
|
||||
Reference in new issue
Block a user