You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): fix lifecycle tests timing out on web/JS platform
The completeReadyCompleters() helper was async void, so its body ran as
a deferred microtask and cleared the list. When lifecycle processing
later called connect() (creating a new readyCompleter), that completer
was never completed, causing tests to hang on web/JS where microtask
scheduling differs from native Dart.
Replace with settleLifecycle() that loops: complete all pending
completers → pump event queue → repeat until no new completers appear.
0 commit comments