Skip to content

Multiple levels of Inheritance causes AccessViolationException due to Finalize being called multiple times #2627

@rmadsen-ks

Description

@rmadsen-ks

Pythonnet version: v3.0.5 built from source

Reproduced on Windows 11. Not reproduced on MacOS.

The issue occurs during Shutdown, when all the live objects gets disposed.

I managed to reproduce it using a new unit test when I was trying to fix #2574.

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