Skip to content

Commit

Permalink
Fix unfinished comment
Browse files Browse the repository at this point in the history
  • Loading branch information
VatamanuBogdan committed Aug 28, 2024
1 parent ee27d22 commit f093ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LiveKit/Views/VideoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public class VideoView: NativeView, Loggable {
if let track = oldState.track as? VideoTrack {
track.remove(videoRenderer: self)

// avoid destroying and re-creating the
// avoid destroying and re-creating the renderers when the video is paused
if !newState.isPaused {
if let r = self._primaryRenderer {
r.removeFromSuperview()
Expand Down

0 comments on commit f093ccd

Please sign in to comment.