cactusref icon indicating copy to clipboard operation
cactusref copied to clipboard

Add tests to assert cycles are fully dropped

Open lopopolo opened this issue 3 years ago • 0 comments

Using a custom inner T that increments / decrements an AtomicU64 on new / drop.

To make sure these are useful under LeakSanitizer too – https://github.com/artichoke/cactusref/issues/102 – let's shove a String field with something like "abc".repeat(100) into the T as well.

lopopolo avatar Oct 02 '22 21:10 lopopolo