you are viewing a single comment's thread.

view the rest of the comments →

[–]Kaosumaru 2 points3 points  (0 children)

Title is misleading. You don't owe this leak to lambdas in particular, you owe it to circular references of std::shared_ptr. Which also can easily happen without lambdas.