[swift-dev] Swift closure memory problem

Alon Muroch alonmuroch at gmail.com
Fri May 27 02:01:13 CDT 2016

Hi everyone !
Its my first time writing here so i hope i could contribute.

The following code seems to create a retain cycle that doesn't let
SomeClass1 to release. Am i missing something ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160527/58dd1c77/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-05-27 at 10.00.21 AM.png
Type: image/png
Size: 37745 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160527/58dd1c77/attachment.png>

More information about the swift-dev mailing list