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
{{ message }}
Repository navigation
examples/image_list: missing await on HttpResponse.close() #184317
In examples/image_list/lib/main.dart, the local HTTPS server's request handler calls request.response.close() without await (line 115). HttpResponse.close() returns a Future that completes when the response is fully sent. Without await, the handler may return before response bytes are flushed, potentially causing incomplete image responses under load.
Fix: Add await to request.response.close(). One-line change.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
Add await to response.close() in examples/image_list
Add await or ignore to future-returning methods defined in Dart SDK (#…
Add await or ignore to future-returning methods defined in Dart SDK (f…
github-actions commentedon Apr 16, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.Add await or ignore to future-returning methods defined in Dart SDK (…