Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Add tests to assert cycles are fully dropped #134

@lopopolo

Description

@lopopolo

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

To make sure these are useful under LeakSanitizer too – #102 – let's shove a String field with something like "abc".repeat(100) into the T as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rcArea: Rc smart pointer implementation.E-help-wantedCall for participation: Help is requested to fix this issue.E-mediumCall for participation: Experience needed to fix: Medium / intermediate.E-needs-testCall for participation: Writing correctness tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions