I use in my application some external, that is, jar, library, which, unfortunately, does not clean up correctly after itself, i.e. the second time I create an object from this library, it does not work properly. I suspect this is because the library creates some threads that continue to work, but I'm not sure.
Is there a way to forcefully clear the clutter created by an external library?
source
share