File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -148,8 +148,11 @@ abstract interface class Client {
148
148
149
149
/// Closes the client and cleans up any resources associated with it.
150
150
///
151
- /// It's important to close each client when it's done being used; failing to
152
- /// do so can cause the Dart process to hang.
151
+ /// Some clients maintain a pool of network connections that will not be
152
+ /// disconnected until the client is closed. This may cause programs using
153
+ /// using the Dart SDK (`dart run` , `dart test` , `dart compile` , etc.) to
154
+ /// not terminate until the client is closed. Programs run using the Flutter
155
+ /// SDK can still terminate even with an active connection pool.
153
156
///
154
157
/// Once [close] is called, no other methods should be called. If [close] is
155
158
/// called while other asynchronous methods are running, the behavior is
You can’t perform that action at this time.
0 commit comments