commit | a9f44a14c64efaa44afdf8f553a3b3211ef4342b | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Mon Feb 10 21:42:47 2025 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Mon Feb 10 23:25:59 2025 +0000 |
tree | 6b9f41e09b8769c3415c63ff7d652cd39db27767 | |
parent | 62218e2cd25b7c0c2e4086109770765eb7d093bf [diff] |
Use try-with-resource to close Repository in PushOne PushOne used an instance variable to store and share the Repository object across the intermediate invocations of its internal push phases. Using an instance variable for Repository is causing flakiness as it may not be properly cleaned up as also shown in the tests executions with reference counting enforced checks introduced with I303706438. Change-Id: Ibb2fe90ae714e0be3a4f272fa992a555e2bf145f