You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "baldimir (via GitHub)" <gi...@apache.org> on 2024/05/06 11:42:01 UTC
[I] Make KieSession auto-closeable [incubator-kie-issues]
baldimir opened a new issue, #1154:
URL: https://github.com/apache/incubator-kie-issues/issues/1154
KieSession needs to be properly disposed by calling dispose() method on it, when done using it. To make this easier, it would be good if the KieSession supports being used as AutoCloseable in a try-with-resources code block.
```
try (KieSession kieSession = kieBase.newKieSession()) {
... some code using the KieSession
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Make KieSession auto-closeable [incubator-kie-issues]
Posted by "baldimir (via GitHub)" <gi...@apache.org>.
baldimir closed issue #1154: Make KieSession auto-closeable
URL: https://github.com/apache/incubator-kie-issues/issues/1154
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org