mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 07:35:53 +00:00
Using AntClassLoader with Closeable so that we can predictably release jar files opened by URLClassLoader
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19472 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
2dd667265b
commit
a31176489c
3 files changed
+47
-18
No files matched your search
@@ -322,9 +322,8 @@ public final class PluginManager extends AbstractModelObject {
|
||||
* Orderly terminates all the plugins.
|
||||
*/
|
||||
public void stop() {
|
||||
for (PluginWrapper p : activePlugins) {
|
||||
for (PluginWrapper p : activePlugins)
|
||||
p.stop();
|
||||
}
|
||||
// Work around a bug in commons-logging.
|
||||
// See http://www.szegedi.org/articles/memleak.html
|
||||
LogFactory.release(uberClassLoader);
|
||||
|
||||
Reference in new issue
Block a user