Swift closure memory problem


(Alon Muroch) #1

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.


(Daniel Vollmer) #2

Hi Alon,

···

On 27 May 2016, at 09:01, Alon Muroch via swift-dev <swift-dev@swift.org> wrote:

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

Your question would be more appropriate for the swift-users list. This list is mainly for developers of the Swift toolchain (e.g. the swift compiler) and not really for questions about writing (other) code in Swift.

  Daniel.