Skip to content

ENT-14434: Added ClearCleanupFunctions - #299

Closed
victormlg wants to merge 1 commit into
NorthernTechHQ:masterfrom
victormlg:clear-cleanup-functions
Closed

ENT-14434: Added ClearCleanupFunctions#299
victormlg wants to merge 1 commit into
NorthernTechHQ:masterfrom
victormlg:clear-cleanup-functions

Conversation

@victormlg

Copy link
Copy Markdown
Contributor

No description provided.

This function is useful when one wants to avoid a child process of inherting cleanup functions, such as avoiding up cleaning up the parent's PID file

Signed-off-by: Victor Moene <victor.moene@northern.tech>
@mender-test-bot

Copy link
Copy Markdown

There was an error running your pipeline, see logs for details.

@larsewi larsewi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should fork before registering these clean-up functions to begin with. Adding them, forking, then clearing them adds a window where it can be killed and still run the clean-up functions belonging to the parent process.

@victormlg victormlg closed this Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants