Closed kushalsharma closed 7 years ago
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!
) and we'll verify. Thanks.
Merging #143 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #143 +/- ##
========================================
Coverage 97.3% 97.3%
Complexity 610 610
========================================
Files 39 39
Lines 1632 1632
Branches 190 190
========================================
Hits 1588 1588
Misses 13 13
Partials 31 31
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update e68d561...9ea15f3. Read the comment docs.
Well spotted! Just a thought though; wouldn't make more sense to pass the database supplier to the store constructor, and call close() on that instead? (still in the method store.close() added in this PR)
CLAs look good, thanks!
Yes makes sense to hold database supplier as a field and calling close on it, thanks for pointing out. Updated PR.
Should SqlDatabaseFunctions have a way to close database? Strict mode tells me that there is a leak when test app is closed.