Merge pull request #68 from FRookie/main

内存泄漏问题
This commit is contained in:
zongzibinbin
2023-07-02 23:38:38 +08:00
committed by GitHub

View File

@@ -23,6 +23,7 @@ public class HttpTraceIdFilter implements Filter {
String tid = UUID.randomUUID().toString();
MDC.put(MDCKey.TID, tid);
chain.doFilter(request, response);
MDC.remove(MDCKey.TID);
}
}