Skip to content

Store delegate weakly instead of unsafe_unretained #56

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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