Made it impossible to add duplicated updaters to queue.

This commit is contained in:
Dmytro Tretiakov committed 2014-08-11 11:38:09 +03:00
1 parent 48ab89338b
commit 5e906948f3
1 file changed
+1 -1
+1 -1
View File
@@ -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];