Unclosed resource resolver
I am dealing with unclosed resource resolver warnings and working on solutions to fix this. In the process I came across this article - https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-23761#
This article offers the following workaround:

The solution seems to close the resource resolver from just one resource instead of "iterating" over the iterator.
For eg:
//workaround: close internal resource resolver(s)
Iterator< Resource> resources = result.getResources();
while (resources.hasNext()) {
Resource resource = resources.next();
resource.getResourceResolver().close();
}
Appreciate your suggestions!!
PS: Tried to use the "suggest an edit" option on that page and got a 404.