SwiftSDK icon indicating copy to clipboard operation
SwiftSDK copied to clipboard

I/O on the main thread

Open magnusburton opened this issue 11 months ago • 1 comments

I'm getting the following runtime warning in Xcode at the referenced line.

This code path does I/O on the main thread underneath that can lead to UI responsiveness issues. Consider ways to optimize this code path

https://github.com/TelemetryDeck/SwiftClient/blob/ab7455cc763da7f0b9d8803682a362ac78aafdec/Sources/TelemetryClient/SignalCache.swift#L73

magnusburton avatar Mar 27 '24 20:03 magnusburton