Closed jlarroque closed 2 years ago
That class doesn't even exist in 3.13.6, not sure where you are getting it or where it would be started, but it's not Unirest 3.13.6
BTW, there are namespace changes from 1 to 3, so I'm guessing you are actually still using 1, which absolutely has thread leaks
Check the dependencies you are using in the project. If you are using maven, the command is
mvn dependency:tree
Thank you for your quick answers. After checking the code, I found out that there was another dependency that was using Unirest 1.4.9 under the hood.
Describe the bug I have updated my code to use Unirest 3.13.6 version, but I still see that threads created by Unirest don't go away correctly. Should I do any specific configuration action for this to work? My understanding was that this was solved in Unirest 2. But I still see a bunch of threads related to it.
To Reproduce Steps to reproduce the behavior: String queryWithHost = instanceURL + query; GetRequest request = Unirest.get(queryWithHost);
Expected behavior Threads created by Unirest should go away sometime after that they were created.
Screenshots
![image](https://user-images.githubusercontent.com/291711/173125886-6b9bd434-0097-4479-8a0c-ac4a81f40ba2.png)
Environmental Data:
Additional context Add any other context about the problem here.