You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declare the liveKitRoom: Room variable, a method connectToLiveKitRoom() to connect and a method teardownLiveKitRoom() to cleanup after disconnect.
After got the liveStreamUrl?.absoluteString and liveKitRoomToken, I processed the connectToLiveKitRoom() method, and surely call teardownLiveKitRoom() after leaving the screen.
The leaks show in the Instrument screen. According to the stacktrace, the leaks cause at this block of code
Steps to Reproduce
Here is how I connect and disconnect a room
liveKitRoom: Room
variable, a methodconnectToLiveKitRoom()
to connect and a methodteardownLiveKitRoom()
to cleanup after disconnect.liveStreamUrl?.absoluteString
andliveKitRoomToken
, I processed theconnectToLiveKitRoom()
method, and surely callteardownLiveKitRoom()
after leaving the screen.Here is my code
SDK Version
2.0.5
I tried to upgrade the library from 2.0.5 to 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10 but the leaks still happen.
iOS/macOS Version
17.5.1
Xcode Version
Expected behavior
Leaks doesn't happen
The text was updated successfully, but these errors were encountered: