Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

EXC_BAD_ACCESS loadCompletedWithError #12

Open
samlotti2 opened this issue May 24, 2018 · 0 comments
Open

EXC_BAD_ACCESS loadCompletedWithError #12

samlotti2 opened this issue May 24, 2018 · 0 comments

Comments

@samlotti2
Copy link

I get EXC_BAD_ACCESS in PACView.m at line pointed below. The block completion handler for requestConsentInfoUpdateForPublisherIdentifiers is working fine, just the form completion handler. Im curious if this has something to do with my project not being ARC.

Zombie setting didn't show it as collected memory, and printing it in the debugger also worked.
Any ideas?

/// Handles load completion.

  • (void)loadCompletedWithError:(nullable NSError *)error {
    dispatch_async(dispatch_get_main_queue(), ^{
    PAC_MUST_BE_MAIN_THREAD();
    if (self->_loadCompletionHandler) {
    self->_loadCompletionHandler(error); <======= ERROR
    }
    self->_loadCompletionHandler = nil;
    });
    }

screen shot 2018-05-24 at 7 04 08 am

screen shot 2018-05-24 at 7 05 44 am

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant