Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Aug 9, 2025

  • Cleanup the test
  • Add and id to the addRunDependency call.
  • Add .unref to prevent the dependency watcher from keeping the node process alive. Prior to Require id in addRunDependency/removeRunDependency #24890 the lack of id in used in the test caused it to skip the dependency watcher.
  • Add --closure=1 to make sure closure doesn't minify the .unref call.
  • Add some RUNTIME_DEBUG logging to add/removeRunDependency.

@sbc100 sbc100 requested a review from kripken August 9, 2025 03:53
- Cleanup the test
- Add and `id` to the `addRunDependency` call.
- Add `.unref` to prevent the dependency watcher from keeping the
  node process alive.  Prior to emscripten-core#24890 the lack of `id` in used in the
  test caused it to skip the dependency watcher.
- Add some RUNTIME_DEBUG logging to add/removeRunDependency.
@sbc100 sbc100 force-pushed the fix_test_prepost_run_dep branch from 9ac23a3 to ab13ed1 Compare August 9, 2025 14:06
@sbc100
Copy link
Collaborator Author

sbc100 commented Aug 9, 2025

Landing TBR to green the tree

@sbc100 sbc100 merged commit af78792 into emscripten-core:main Aug 9, 2025
12 of 14 checks passed
@sbc100 sbc100 deleted the fix_test_prepost_run_dep branch August 9, 2025 14:28
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