Skip to content

Documentation: module destructor #638

Closed
@virtuald

Description

@virtuald

Python supports a module destructor via tp_dealloc... I can't seem to figure out how to hook that in pybind11. I tried the most obvious thing I could think of (subclass module), and that doesn't work. I'm sure it's supported, right?

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