Close should go in the `finally` block!

Open Beginner friendly
#262 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
dart
Domain
api

Research direction

Open examples/bin/language_api.dart at line 62 and inspect how the client is closed around the operation. Check the surrounding control flow, then verify that cleanup occurs on both successful and failing paths by running or reviewing the example.

Written by the indexing model from the issue text.

Description

type: bug
Dominant language
Dart
Stars
23
Forks
15
Avg merge
1d 5h
Merged PRs (30d)
17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googleapis/google-cloud-dart

All issues in googleapis/google-cloud-dart

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.