mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
CGLIB-enhanced @Configuration subclasses now implement DisposableBean such that Enhancer.registerStaticCallbacks(subclass, null) is invoked on container shutdown. This ensures that garbage collection can work properly and avoids memory consumption issues for applications that create and destroy many application contexts within the same JVM. Issue: SPR-7901