mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-24 22:43:35 +00:00
use empty set instead of array for set of listeners
This commit is contained in:
parent
4104e8ab47
commit
56bf0ca667
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user