use empty set instead of array for set of listeners

This commit is contained in:
matthias.ringwald 2012-04-04 21:34:58 +00:00
parent 4104e8ab47
commit 56bf0ca667

View File

@ -66,7 +66,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe
// delegate and listener
_delegate = nil;
[self setListeners:[[NSMutableArray alloc] init]];
[self setListeners:[[NSMutableSet alloc] init]];
// Use Cocoa run loop
run_loop_init(RUN_LOOP_COCOA);