Scanresult class adds a shutdown hook. This causes a classloader leak when tomcat unloads a webapplication that uses classgraph library. Is there a way to prevent the shutdownhook from being added?
Scanresult class adds a shutdown hook. This causes a classloader leak when tomcat unloads a webapplication that uses classgraph library.
Is there a way to prevent the shutdownhook from being added?