defined a threadlocal variable in the class to support some instances. setting up and getting a recursive method. To some extent, I cannot clear the threadlocal variable when the request is complete (I have analyzed all the other ways. I cannot clear threadlocal).
My question is: if I did not clear the threadlocal variable for each request, what will happen? What are the implications?
source
share