Skip to content

Commit

Permalink
remove unused func
Browse files Browse the repository at this point in the history
  • Loading branch information
nickybondarenko committed Jun 4, 2024
1 parent 253ebfa commit 83bcef6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Sources/Confidence/ConfidenceAppLifecycleProducer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,6 @@ public class ConfidenceAppLifecycleProducer: ConfidenceEventProducer, Confidence
UserDefaults.standard.setValue(currentBuild, forKey: Self.userDefaultBuildNameKey)
}

private func updateContext() {
withLock { [weak self] in
guard let self = self else {
return
}
let context = self.currentProducedContext.value
self.currentProducedContext.send(context)
}
}

private func withLock(callback: @escaping () -> Void) {
queue.sync {
callback()
Expand Down

0 comments on commit 83bcef6

Please sign in to comment.