[
https://issues.apache.org/jira/browse/OFBIZ-9389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-9389.
----------------------------------
Resolution: Done
Done with r1797788
> performFindResults.listIt closed but not in case of exception in 3 Scrum Groovy files
> -------------------------------------------------------------------------------------
>
> Key: OFBIZ-9389
> URL:
https://issues.apache.org/jira/browse/OFBIZ-9389> Project: OFBiz
> Issue Type: Improvement
> Components: scrum
> Affects Versions: Trunk
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: Upcoming Release
>
>
> This is an improvement only because no cases were reported. But obviously in case of unlucky exception after the call to the performFind service, and before it's closed, the EntityListIterator remains in memory.
> The solution is to use a try-catch-finally block because Groovy has not try-with-ressources.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)