Skip to content

Commit

Permalink
remove transaction observer when transaction is finished and removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
yagitoshiro committed Jun 13, 2011
1 parent 5b4eee1 commit 2989715
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/PaymentQueue.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ - (void)paymentQueue:(SKPaymentQueue *)queue
PaymentTransaction* t = [[[PaymentTransaction alloc] _initWithPageContext:[self pageContext] transaction:transaction] autorelease];
[self fireEvent:@"removed" withObject:[NSDictionary dictionaryWithObject:t forKey:@"transaction"]];
}
[[self queue] removeTransactionObserver:self];
}

- (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue
Expand Down

0 comments on commit 2989715

Please sign in to comment.