Skip to content

Commit

Permalink
Merge pull request PunchThrough#38 from PunchThrough/remove-releasing…
Browse files Browse the repository at this point in the history
…-serial-gate

removing unneeded call to release serial gate
  • Loading branch information
karelkalthoff authored Nov 9, 2016
2 parents e71e598 + 2329d0c commit 1e2f53a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/PTDBean.m
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,6 @@ -(void)profileDiscovered:(BleProfile*)profile
__weak typeof(self) weakSelf = self;
[gatt_serial_profile validateWithCompletion: ^(NSError* error) {
if ( !error && [gatt_serial_profile isValid:nil] ) {
[weakSelf releaseSerialGate];
[weakSelf __profileHasBeenValidated:profile];
}
}];
Expand Down

0 comments on commit 1e2f53a

Please sign in to comment.