-
-
Save zontan/2868ca61d5d121d4c40a95d5645d8313 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deinit { | |
if let userName = roomName { | |
Database.database().reference(withPath: "live").child(userName).removeValue() | |
agoraKit?.leaveChannel(nil) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment