mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
fix possible class loader leak
This commit is contained in:
@@ -235,4 +235,17 @@ public final class BootstrapUtil
|
||||
{
|
||||
context.setAttribute(CLASSLOADER, classLoader);
|
||||
}
|
||||
|
||||
//~--- methods --------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @param context
|
||||
*/
|
||||
public static void removeClassLoader(ServletContext context)
|
||||
{
|
||||
context.removeAttribute(CLASSLOADER);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user