Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic deletion of residual files after crashes #5124

Open
wants to merge 1 commit into
base: 2.14.x
Choose a base branch
from

Conversation

OgreTransporter
Copy link

Description

Adds a function to the DLL under Windows, which is executed when the DLL is loaded and unloaded. The function deletes all residual files left over after crashes to prevent problems with these files. Programs that use FastDDS can hang permanently. This code is an adapted variant of #5053, which also works with C++11 and does not require C++20.

Fixes #5053

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • If this is a critical bug fix, backports to the critical-only supported branches have been requested.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

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.

1 participant