Skip to content

To detach ot not detach #41

Description

@currocam

I was going through the code and I realised I've been using this with the SharedTableCollection with detach, but

// We will allocate the tables via Python allocator.
// Therefore, we must run in an interpreter with the GiL
// attached.

My understanding was one could detach "When executing Rust code which does not need to interact with the Python interpreter".

Is this to avoid something like you kill the Python process but Rust doesn't get the signal and you end up with a leak?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions