Update zig-js-runtime, wait for loop on wpt error

Updates zig-js-runtime to latest, reverting the loop reset change. This solves
the introduced memory leak.

On WPT error, call js_env.wait() to ensure all pending events are completed.
Without this, on error, the code is likely to crash as the timeout callback
executes AFTER env.deinit() is called. This is now possible to do safely on
Mac now that cancel is pseudo-implemented.
This commit is contained in:
Karl Seguin
2025-04-09 09:01:04 +08:00
parent d772eaf4a2
commit f9c4cefe59
2 changed files with 2 additions and 1 deletions