Skip to content

Commit

Permalink
reduce deinit log noise
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Mar 7, 2024
1 parent aeda4b4 commit a3bab58
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Sources/LiveKit/Core/Engine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class Engine: Loggable {
}

deinit {
log()
log(nil, .trace)
}

// Connect sequence, resets existing state
Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/Core/Room.swift
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public class Room: NSObject, ObservableObject, Loggable {
}

deinit {
log()
log(nil, .trace)
}

@objc
Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/Core/SignalClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ actor SignalClient: Loggable {
}

deinit {
log()
log(nil, .trace)
}

@discardableResult
Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/Core/Transport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ actor Transport: NSObject, Loggable {
}

deinit {
log()
log(nil, .trace)
}

func negotiate() async {
Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/Support/AsyncTimer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ actor AsyncTimer: Loggable {
deinit {
isStarted = false
_task?.cancel()
log()
log(nil, .trace)
}

func cancel() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class LocalTrackPublication: TrackPublication {
}

deinit {
log()
log(nil, .trace)
}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/Views/VideoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ public class VideoView: NativeView, Loggable {
}

deinit {
log()
log(nil, .trace)
}

override func performLayout() {
Expand Down

0 comments on commit a3bab58

Please sign in to comment.