alexcrichton opened PR #1593 from fix-test-leak
to master
:
This test creates a cycle between two
Func
objects (and indirectly
through their instance) which prevents anything from being collected.
This was found when running tests locally with address sanitizer, and
using aWeak<T>
breaks the cycle to allow collecting resources.
alexcrichton requested fitzgen for a review on PR #1593.
fitzgen submitted PR Review.
fitzgen merged PR #1593.
Last updated: Dec 23 2024 at 13:07 UTC