mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-29 12:35:19 +00:00
working around a memory leak in commons-logging. And they don't even acknowledge that it's a bug. Sigh.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2868 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
26ee3433ed
commit
3bfa8af569
3 files changed
+14
-1
No files matched your search
@@ -5,6 +5,7 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.Project;
|
||||
import org.apache.tools.ant.taskdefs.Expand;
|
||||
import org.apache.tools.ant.types.FileSet;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.kohsuke.stapler.StaplerRequest;
|
||||
import org.kohsuke.stapler.StaplerResponse;
|
||||
|
||||
@@ -356,6 +357,9 @@ public final class PluginWrapper {
|
||||
System.err.println("Failed to shut down "+shortName);
|
||||
System.err.println(t);
|
||||
}
|
||||
// Work around a bug in commons-logging.
|
||||
// See http://www.szegedi.org/articles/memleak.html
|
||||
LogFactory.release(classLoader);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user