[swift-users] Swift closure memory problem
Joe Groff
jgroff at apple.com
Fri May 27 11:59:50 CDT 2016
> On May 27, 2016, at 3:57 AM, Alon Muroch via swift-users <swift-users at swift.org> wrote:
>
> 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 ?
>
> <Screen Shot 2016-05-27 at 10.00.21 AM.png>
> Alon.
What are you passing as `topClosure`?
-Joe
More information about the swift-users
mailing list