-
-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Hi Devin,
Swift isn't my main language, I'm hoping you could make this clearer for me.
I'm instantiating an OSCServer inside a VC, which I only need while I'm inside that VC. I want to close that connection and deallocate the server when I leave the VC and return to the parent VC.
By making the server.delegate = self I cause a retain cycle even if I try setting server.delegate = nil in viewWilDisappear()
I've tried declaring my server as weak and unowned
What am I missing?
Metadata
Metadata
Assignees
Labels
No labels