Skip to content

Add explicit finalizer signature to XPtr #1108

@eddelbuettel

Description

@eddelbuettel

In one recent project, the (default) standard_delete_finalizer() for an XPtr object was seen to not get called regularly, at least not in all settings leading to some complains from e.g. valgrind under full instrumentation.

The alternative, in that case, was to set explicit calls to R_RegisterCFinalizerEx() directly which we could easily add as a new alternate signature to XPtr too.

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