cactusref
cactusref copied to clipboard
Add tests to assert cycles are fully dropped
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.