Has anyone else had a problem with memory leaks fr...
# kotlin-native
a
Has anyone else had a problem with memory leaks from the KMM interop code to SwiftUI? I have several examples where he iOS profiler is reporting a memory leak from methods that seem fine to me. Here’s an example:
Copy code
Text(librarySelection.displayName)
The iOS leak detector is reporting this as a memory leak, where librarySelection is a Enum and displayName is a string property in the enum. I also have several utility methods that format data into strings so they display correctly on the iOS side, and many of those are being reported as leaks. I’m wondering if maybe there’s something with the String interop that’s leaking? I’m running Kotlin 1.8.10
💡 1
👀 1