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.
Right now, if the delegate of a
MDWampobject is deallocated, thedelegateproperty becomes a dangling pointer and will crash next time a delegate method is called.I'm pretty certain it can just made a
weakproperty and get the desired behavior of being set tonilwhen the delegate deinits.