Skip to content

Avoid node TimeoutNegativeWarning in emscripten_set_timeout_loop #23722

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

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 21, 2025

This restores the two different paths for calculating the remaining milliseconds which was removed in #12122.

Inspired by #23716

@sbc100 sbc100 requested a review from kripken February 24, 2025 18:16
@sbc100 sbc100 force-pushed the fix_TimeoutNegativeWarning branch from e884357 to e016b4e Compare February 24, 2025 18:17
@sbc100 sbc100 changed the title Avoid node TimeoutNegativeWarning Avoid node TimeoutNegativeWarning in emscripten_set_timeout_loop Feb 24, 2025
@sbc100 sbc100 force-pushed the fix_TimeoutNegativeWarning branch from e016b4e to aefa478 Compare February 24, 2025 21:26
This restores the two different paths for calculating the remaining
milliseconds which was removed in emscripten-core#12122.

Inspired by emscripten-core#23716
@sbc100 sbc100 force-pushed the fix_TimeoutNegativeWarning branch from aefa478 to afe0398 Compare February 24, 2025 21:41
@sbc100 sbc100 enabled auto-merge (squash) February 24, 2025 21:41
@sbc100 sbc100 disabled auto-merge February 24, 2025 23:00
@sbc100 sbc100 merged commit 0cb031d into emscripten-core:main Feb 24, 2025
27 of 29 checks passed
@sbc100 sbc100 deleted the fix_TimeoutNegativeWarning branch February 24, 2025 23:00
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