Commit e27ae168 by WeiCong

交易执行后手动释放上下文

parent 47db1a04
......@@ -7,6 +7,7 @@ import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;
import org.sss.common.impl.RuleUtils;
import org.sss.common.model.*;
import org.sss.presentation.noui.api.exception.ExitTransactionException;
import org.sss.presentation.noui.api.exception.NoUiException;
......@@ -201,6 +202,7 @@ public abstract class AbstractCommonController {
if (context != null) {
//context.getSupport().disconnect();
context.dispose();
RuleUtils.ctx.remove();
}
TxInfo.releaseCurrTxInfo();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment