open-power / pdbg

PowerPC FSI Debugger
Apache License 2.0
17 stars 39 forks source link

Closing the FDs which might be still open after dev tree initialization #75

Closed Swarnendu-R-C closed 1 year ago

Swarnendu-R-C commented 1 year ago

When PDBG initialisation is done there might be chances that the FDs opened for reading the dev tree are still open. This is just to make sure that everything is closed while it is returning

FD-leaks FD-NO-Leaks

devenrao commented 1 year ago

please publish test results in the commit message before and after or else no idea if this fixes the issue

Swarnendu-R-C commented 1 year ago

please publish test results in the commit message before and after or else no idea if this fixes the issue

Attached to the commit messages and along with the PR as well