Skip to content

[gix-tempfile] Revisit connection to signal-hook #339

Closed
@Byron

Description

@Byron

#336 was a reminder on how good intentions can end up having undesirable impact which is why it should be put into question if the bundling with signal-hook is the right choice for a plumbing crate.

Despite the ecosystem being centered around signal-hook, it seems clear that other options are possible that shouldn't have to deal with an unnecessary dependency.

It also appears that more complex applications will want their own signal handlers and free reign on how to integrate the cleanup, for reference, git-repository also integrates the cleanup handler directly instead of calling setup().

Revisit the way the cleanup handler is promoted to users of the library to make it reasonably easy to use while avoiding accidental behaviour to emerge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acknowledgedan issue is accepted as shortcoming to be fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions