Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIS Action执行失败 导致线程绑定资源没有被回收 #236

Closed
baisui1981 opened this issue Jun 15, 2023 · 0 comments
Closed

TIS Action执行失败 导致线程绑定资源没有被回收 #236

baisui1981 opened this issue Jun 15, 2023 · 0 comments
Labels
3.8.0 bug Something isn't working
Milestone

Comments

@baisui1981
Copy link
Member

下图中执行失败,导致AjaxValue.java 中线程绑定资源没有被回收,导致下一次执行由于线程中缓存了错误的信息,程序执行失败

  try {
      this.writeExecuteResult(request, response);
    } finally {
      SuFormProperties.subFormGetterProcessThreadLocal.remove();
      GroovyShellEvaluate.pluginThreadLocal.remove();
      UpdateSite.pluginArts.remove();
    }

屏幕快照 2023-06-15 下午11 52 44
考虑将回收资源的代码放到MethodFilterInterceptor中去

@baisui1981 baisui1981 added bug Something isn't working 3.8.0 labels Jun 15, 2023
@baisui1981 baisui1981 added this to the v3.8.0 milestone Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8.0 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant