GitHub user stain opened a pull request:
https://github.com/apache/jena/pull/46
JENA-904 Avoid activeInterpreters leak
Fixes [JENA-904](https://issues.apache.org/jira/browse/JENA-904) by closing
the interpreter of the generator of /ConsumerChoicePointFrame - and making sure
CCPF.close() is called through super.close() calls of its owners.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stain/jena JENA-904-LPBRuleEngine-leak
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/46.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #46
----
commit 72a8d46419e1884d9969ba534992c88c98510a9d
Author: Stian Soiland-Reyes <[email protected]>
Date: 2015-03-21T02:14:49Z
JENA-904 test LPDRuleEngine leak of activeInterpreters
commit 0d3def3a08c263f3bba8bfbeb45725f18b1aa5ac
Author: Stian Soiland-Reyes <[email protected]>
Date: 2015-03-21T02:15:13Z
JENA-904: Propagate .close() to generator
commit e8d8df84c0b7d23447b2cdd977d63da4e2a2b340
Author: Stian Soiland-Reyes <[email protected]>
Date: 2015-03-21T02:18:35Z
JENA-904 a bit more super.close()
safest to call child.close() before your own super.close
commit 7761edcd4f4bee881f53f002e0a33d486cc43fc1
Author: Stian Soiland-Reyes <[email protected]>
Date: 2015-03-21T02:30:07Z
JENA-904: close the generator.interpreter only
.. so that it is removed from activeInterpreters
calling .setComplete() on the other hand broke
other tests as it closes too much too early
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---