Skip to content

Object is unsendable, but is being dropped on another thread #5067

Closed
@davidbrochart

Description

@davidbrochart

After reading #3688 and #3689, I'm still not sure what to do with an unsendable pyclass. When it is garbage collected from a different thread than the thread it was created in, I get the RuntimeError: ... unsendable, but is being dropped on another thread.
Does it mean that my object is not dropped, and that it would lead to memory leaks?

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