[swift-users] Swift closure memory problem

Alon Muroch alonmuroch at gmail.com
Fri May 27 05:57:39 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 ?


​​Alon.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160527/863fd512/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-users/attachments/20160527/863fd512/attachment.png>


More information about the swift-users mailing list