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
It's important to close each client when it's done being used; failing to do so can cause the Dart process to hang.
Perhaps it's not a "serious" issue with a single un-closed client, such as this example project. But would something like this become an issue as a project scales?
The text was updated successfully, but these errors were encountered:
Luckey-Elijah
changed the title
Http client in datamuse_api_client.dart is never disposed.
Http client in datamuse_api_client.dart is never closed.
Dec 28, 2021
The http client created is never closed in datamuse_api_client.dart#L33. As per the
http
package docs:Perhaps it's not a "serious" issue with a single un-closed client, such as this example project. But would something like this become an issue as a project scales?
The text was updated successfully, but these errors were encountered: