We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7586aef + b26be61 commit 9ae1f4aCopy full SHA for 9ae1f4a
iOS_SDK/OneSignal/OneSignalTrackIAP.m
@@ -57,6 +57,12 @@ - (id)init {
57
return self;
58
}
59
60
+- (void)dealloc {
61
+ if (skPaymentQueue) {
62
+ [[skPaymentQueue performSelector:@selector(defaultQueue)] performSelector:@selector(removeTransactionObserver:) withObject:self];
63
+ }
64
+}
65
+
66
- (void)paymentQueue:(id)queue updatedTransactions:(NSArray*)transactions {
67
skusToTrack = [NSMutableDictionary new];
68
id skPayment;
0 commit comments