Why does a ContiguousArrayStorage <String> leak?
Steps to play:
Create a new Xcode project: File -> New Project
Add property: let tags = ["1", "2"] in AppDelegate
Go to product β Profile
Tools show _ContiguousArrayStorage leak?
If you change let tags = ["1", "2"] to let tags = "1" , the leak will disappear.
Can someone explain why [String] is leaking, but String is not working?
Xcode 8.0 (8A218a)
+5
No one has answered this question yet.
See related questions:
