OCT REM: 1. 修正对象重复释放问题
This commit is contained in:
parent
2cbacee29e
commit
48cb327ea4
|
@ -61,11 +61,8 @@ public class RuleProcessService extends BusinessRuleTaskActivityBehavior {
|
|||
// 将结果同时存入显式指定的变量和默认变量
|
||||
execution.getParent().setVariable(resultVariable, retCommand);
|
||||
}
|
||||
|
||||
kieSession.dispose();
|
||||
} catch (Exception e) {
|
||||
log.error("Rule Exception: {0}", e);
|
||||
|
||||
} finally {
|
||||
if (kieSession != null) {
|
||||
kieSession.dispose();
|
||||
|
|
Loading…
Reference in New Issue