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

Explore weird register_shutdown_function behavior #1099

Closed
wants to merge 1 commit into from

Conversation

adamziel
Copy link
Collaborator

cc @bgrgicak

This doesn't solve the issue we've seen with WooCommerce. While trying to set up a test case for that, I ran into another issue where doing anything asynchronous in the shutdown handler somehow breaks the stdout output stream. The PHP code is still running, though, and is capable of writing files. Something must be off with the wasm_sapi_request_shutdown C function.

@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Feature] PHP.wasm [Aspect] Asyncify labels Mar 11, 2024
@adamziel adamziel closed this Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Aspect] Asyncify [Feature] PHP.wasm [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant