Skip to content

Commit

Permalink
update destroy method to be compatible with spring 6
Browse files Browse the repository at this point in the history
  • Loading branch information
f2par0 authored Dec 2, 2024
1 parent 6629195 commit b1f4597
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private org.springframework.beans.factory.xml.ParserContext getOrCreateParserCon
if (applicationContext == null) {
applicationContext = new SpringApplicationContext(container);
registry.registerComponentDefinition(createPassThrough(parserContext,
SPRING_APPLICATION_CONTEXT_ID, applicationContext, "destroy"
SPRING_APPLICATION_CONTEXT_ID, applicationContext, "close"
));
}
// Create registry
Expand Down

0 comments on commit b1f4597

Please sign in to comment.