Skip to content

Store delegate weakly instead of unsafe_unretained #56

@elliottwilliams

Description

@elliottwilliams

Right now, if the delegate of a MDWamp object is deallocated, the delegate property becomes a dangling pointer and will crash next time a delegate method is called.

I'm pretty certain it can just made a weak property and get the desired behavior of being set to nil when the delegate deinits.

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