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.
1 parent f1b712e commit 7444179Copy full SHA for 7444179
Branch-SDK/Branch-SDK/BNCStrongMatchHelper.m
@@ -231,8 +231,10 @@ - (BOOL) willLoadViewControllerWithURL:(NSURL*)matchURL {
231
fail |= ![self subclass:BNCMatchViewControllerSubclass selector:@selector(becomeFirstResponder)];
232
fail |= ![self subclass:BNCMatchViewControllerSubclass selector:@selector(canBecomeFirstResponder)];
233
fail |= ![self subclass:BNCMatchViewControllerSubclass selector:@selector(nextResponder)];
234
- if (fail) return NO;
235
-
+ if (fail) {
+ objc_disposeClassPair(BNCMatchViewControllerSubclass);
236
+ return NO;
237
+ }
238
objc_registerClassPair(BNCMatchViewControllerSubclass);
239
}
240
0 commit comments