Skip to content

Avoid registering application context shutdown hook for WAR deployments #19398

@bclozel

Description

@bclozel

While looking into #19385, we've found that we're registering the application context shutdown hook even for Servlet deployments. This is unnecessary and we should disable this. We should let the Servlet container manage the application lifecycle.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions