Skip to content

Commit

Permalink
Fix _ASAsyncTransaction initialization method (#1656)
Browse files Browse the repository at this point in the history
- Invoke the superclass (super) initializer
  • Loading branch information
hanton authored and rahul-malik committed Sep 16, 2019
1 parent 3bb64bc commit 712efc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Details/Transactions/_ASAsyncTransaction.mm
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ @implementation _ASAsyncTransaction

- (instancetype)initWithCompletionBlock:(void(^)(_ASAsyncTransaction *, BOOL))completionBlock
{
if ((self = [self init])) {
if ((self = [super init])) {
_completionBlock = completionBlock;
self.state = ASAsyncTransactionStateOpen;
}
Expand Down

0 comments on commit 712efc4

Please sign in to comment.