Skip to content

Garbage collector support #26

@cspotcode

Description

@cspotcode

We must implement explicit support for cpython's garbage collector, otherwise we'll have memory leaks.

https://pyo3.rs/v0.19.0/class/protocols.html?highlight=garbage%20collector#garbage-collector-integration

See this thread where I shared a reproduction which proves we currently have a memory leak:
https://discord.com/channels/458662222697070613/1085299745116917851/1118689518321684541

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions