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

#79 - add shutdown functions wrapper to make sure TestModules will be… #93

Merged
merged 2 commits into from
Mar 21, 2024
Merged

#79 - add shutdown functions wrapper to make sure TestModules will be… #93

merged 2 commits into from
Mar 21, 2024

Conversation

vpodorozh
Copy link
Contributor

Description (*)

Added Wrapper for registering the deleteTestModules function on shutdown.
This wrapper makes sure that we are running the deleteTestModules function after ALL other shutdown functions.
It prevents issues with SessionManager register_shutdown_function([$this, 'writeClose']); - which used to be called AFTER modules removing - and Fatal Error was thrown.

Fixed Issues (if relevant)

#79

… removed ONLY after all other shut down fucntions be executed.
@vpodorozh vpodorozh requested a review from a team as a code owner March 19, 2024 16:52
… removed ONLY after all other shut down fucntions be executed.
@Vinai Vinai merged commit 9dab17f into mage-os:2.4-develop Mar 21, 2024
7 checks passed
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.

2 participants