3 ms·
> These variables also won't get garbage collected because of that. I should probably be more precise - only the variables from outside scope that the closure
by ajuc 12y ago
> These variables also won't get garbage collected because of that.
I should probably be more precise - only the variables from outside scope that the closure actually uses won't get GCed as long as that closure is referenced. Other variables will.