Andrés Garagiola <andresgaragiola <at> gmail.com> writes: >... It seems to me that the closure with |key| is causing the problem. It can never be released as the callback needs access to the closure.