Skip to content

exc_bad_access when dismissing MWFeedParser delegate #119

@alarrosa14

Description

@alarrosa14

I had exc_bad_access when dismissed the MWFeedParser delegate view controller before all parsing labours were done.

I could fix this by making the delegate definition weak:

// MWFeedParser.h
@property (nonatomic, weak) id <MWFeedParserDelegate> delegate;

I also had to delete the private redefinition:

id <MWFeedParserDelegate> __unsafe_unretained delegate;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions