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: Nov 22 2024 at 16:03 UTC