try (SearchCursor searchResults = search( …);) {
.
}
:)))
On Thu, 14 Jul 2022 at 02:11, Shawn McKinney wrote:
>
> Hello,
>
> Recently noticed the fortress code is not closing the search cursor. Take the
> GroupDAO.find[1] example (listed below).
>
> Same pattern across the codebase
Hello,
Recently noticed the fortress code is not closing the search cursor. Take the
GroupDAO.find[1] example (listed below).
Same pattern across the codebase despite clear warnings in the doc:
"Don’t forget to close the cursor, otherwise the associated data remains in
memory forever (causing