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

Use ActionRegistry instead of TempRegistry everywhere #510

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jorisdral
Copy link
Collaborator

@jorisdral jorisdral commented Dec 24, 2024

No description provided.

@jorisdral jorisdral changed the title Use ActionRegistry instead of TempRegistry everywhere Use ActionRegistry instead of TempRegistry everywhere Dec 24, 2024
Say we have two delayed actions we want to register in the following order:
close a file handle, and remove the corresponding file. When the action registry
is committed, then previously we would run the actions in LIFO order. This leads
to an error because we can't remove a file while we also have an open handle to
that file. Now that we run the actions in FIFO order, it works correctly.
@jorisdral jorisdral force-pushed the jdral/replace-registry branch from 0f2cb16 to 6e6f726 Compare December 24, 2024 10:00
@jorisdral jorisdral self-assigned this Dec 24, 2024
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