Added a hack to de-duplicate hosts and some more checks when adding a host to minimize the chances for dupes
This commit is contained in:
1 parent
40a04eb08b
commit
fd9ee45dac
4 files changed
+98
-10
No files matched your search
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// CleanupCrew.h
|
||||
// Limelight
|
||||
//
|
||||
// Created by Diego Waxemberg on 4/5/15.
|
||||
// Copyright (c) 2015 Limelight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "Host.h"
|
||||
|
||||
@protocol CleanupCallback <NSObject>
|
||||
|
||||
- (void) cleanedUpHosts:(NSSet*) host;
|
||||
|
||||
@end
|
||||
|
||||
@interface CleanupCrew : NSOperation
|
||||
|
||||
- (id) initWithHostList:(NSArray*) hostList andCallback:(id<CleanupCallback>)callback;
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user