|
|
|
|
|
by mehrdadn
2864 days ago
|
|
I don't see how this is different from lambdas in general, in JS/Python/etc... wouldn't it only be held as long as the variables are alive? If you use the callback only once then they should be eligible to be freed after being used once. |
|
(See the section “memory leaks”.)