Skip to content

Commit

Permalink
Fixed crash when trying to use bean just after reconnect – keep inter…
Browse files Browse the repository at this point in the history
…mediate state while rediscovering services.
  • Loading branch information
paiv committed Jun 2, 2017
1 parent 301b82e commit 7ac3b45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/PTDBean.m
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,8 @@ -(id)initWithPeripheral:(CBPeripheral*)peripheral beanManager:(id<PTDBeanManager

-(void)discoverServices{

profilesValidated = [[NSMutableSet alloc] init];

oad_profile = nil;
deviceInfo_profile = nil;
gatt_serial_profile = nil;
Expand Down

0 comments on commit 7ac3b45

Please sign in to comment.