[swift-users] Memory Leak of Dictionary used in singleton

Quinn "The Eskimo!" eskimo1 at apple.com
Mon Mar 13 03:16:19 CDT 2017


On 12 Mar 2017, at 00:04, Ekaterina Belinskaya via swift-users <swift-users at swift.org> wrote:

> Could someone, please, explain why this happens?

In general a leak that you can reproduce with simple code snippets like this is Just a Bug™, and you should file it as such.  It would help if you included a runnable test project that reproduces the problem.

<https://bugs.swift.org/>

Please post your bug number, just for the record.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware




More information about the swift-users mailing list