Skip to content

fix(gin): close os.File in RunFd to prevent resource leak#4422

Merged
appleboy merged 1 commit into
gin-gonic:masterfrom
1911860538:gin/runfd
Nov 7, 2025
Merged

fix(gin): close os.File in RunFd to prevent resource leak#4422
appleboy merged 1 commit into
gin-gonic:masterfrom
1911860538:gin/runfd

fix: close os.File in RunFd to prevent resource leak

f600b0a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Nov 7, 2025 in 0s

98.96% (-0.25%) compared to 3dc1cd6

View this Pull Request on Codecov

98.96% (-0.25%) compared to 3dc1cd6

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.96%. Comparing base (3dc1cd6) to head (f600b0a).
⚠️ Report is 201 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4422      +/-   ##
==========================================
- Coverage   99.21%   98.96%   -0.25%     
==========================================
  Files          42       44       +2     
  Lines        3182     2900     -282     
==========================================
- Hits         3157     2870     -287     
- Misses         17       19       +2     
- Partials        8       11       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.