MDWamp
MDWamp copied to clipboard
Store delegate weakly instead of unsafe_unretained
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.