Skip to content

Commit

Permalink
bugfix: actually destroy deployment ClassLoader shareableTemp correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
lprimak committed Feb 27, 2025
1 parent f048b13 commit 8701480
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public synchronized ClassLoader getClassLoader(boolean sharable) {
// return the final classloader
if (sharableTemp != null && sharableTemp.get() != cloader) {
try {
PreDestroy.class.cast(sharableTemp).preDestroy();
PreDestroy.class.cast(sharableTemp.get()).preDestroy();
} catch (Exception e) {
// ignore, the classloader does not need to be destroyed
}
Expand Down

0 comments on commit 8701480

Please sign in to comment.