Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.26.1, 3.27.0
Description
In PyPiHostedFacetImpl on getIndex() createIndexAsset() is called which creates a TempBlob that is never cleaned up.
I believe the TempBlob created should be wrapped in a try block like the others so this TempBlob is deleted after getIndex
```
private Asset createIndexAsset(final String name,
final StorageTx tx,
final String indexPath,
final Bucket bucket) throws IOException
```
Should be
```
try (TempBlob tempBlob = storageFacet.createTempBlob(new ByteArrayInputStream(html.getBytes(UTF_8)), HASH_ALGORITHMS);
```