Open
Bug 1936767
Opened 2 months ago
Memory Leaks in Nimbus class
Categories
(Application Services :: Nimbus SDK, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: sparaipan, Unassigned)
Details
We use this line to record behavioral targeting events, specifically when the app enters the foreground state in this case: Experiments.events.recordEvent(BehavioralTargetingEvent.appForeground)
. Every time the Firefox for iOS app transitions from the background to the foreground, we detect new memory leaks. I suspect that the leaks occur here where self is captured.
public func recordEvent(_ count: Int, _ eventId: String) {
_ = catchAll(dbQueue) { _ in
try self.nimbusClient.recordEvent(eventId: eventId, count: Int64(count))
}
}
You need to log in
before you can comment on or make changes to this bug.
Description
•