Skip to content

Memory leak when ContextRefresher is used to refresh context #757

@dhruvit-r

Description

@dhruvit-r

When ContextRefresher is used to refresh the context, Spring Config Vault seems to be adding a bunch of ApplicationListeners to the context without cleaning up existing ApplicationListeners.

Reproduction:

vault_refresh.zip

Video:

Screen.Recording.2025-07-14.at.12.42.07.AM.mp4

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions