gosnowflake
gosnowflake copied to clipboard
fix: goroutine leak
Description
I fixed goroutine leaks.
releted with #588
- Close Body.
- Close Idle connections, if close db.
Checklist
- [x] Code compiles correctly
- [x] Run
make fmt
to fix inconsistent formats - [x] Run
make lint
to get lint errors and fix all of them - [x] Created tests which fail without the change (if possible)
- [x] All tests passing
- [x] Extended the README / documentation, if necessary
I was recently troubleshooting a goroutine leak that failed exactly like this, it would be great for this fix to land.
ping @sfc-gh-jbahk
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
I have read the CLA Document and I hereby sign the CLA
Closing as duplicate.