pull/16521/head
ComputerGuy 1 month ago
parent ff85f271ad
commit 1a26daf2fd

@ -150,6 +150,7 @@ export async function* for_await_track_reactivity_loss(async_iterator) {
} finally { } finally {
// If the iterator had a normal completion and `return` is defined on the iterator, call it and return the value // If the iterator had a normal completion and `return` is defined on the iterator, call it and return the value
if (normal_completion && async_iterator.return !== undefined) { if (normal_completion && async_iterator.return !== undefined) {
// eslint-disable-next-line no-unsafe-finally
return /** @type {TReturn} */ ( return /** @type {TReturn} */ (
(await track_reactivity_loss(async_iterator.return()))().value (await track_reactivity_loss(async_iterator.return()))().value
); );

Loading…
Cancel
Save