Skip to content

Garbage collector support #26

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions