Index: runtime/lib/async_patch.dart |
diff --git a/runtime/lib/async_patch.dart b/runtime/lib/async_patch.dart |
index c048ce8196b4a62cda6a907c495a3920d469d8fa..3e22fb044545fef55933c31361b6ea48c946e976 100644 |
--- a/runtime/lib/async_patch.dart |
+++ b/runtime/lib/async_patch.dart |
@@ -124,6 +124,7 @@ class _AsyncStarStreamController { |
whenDoneAdding.then((_) { |
isAdding = false; |
scheduleGenerator(); |
+ if (!isScheduled) isSuspendedAtYield = true; |
}); |
return false; |
} |