mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-29 21:59:02 +00:00
Undertow's DeploymentManagerImpl is not idempotent. Calling undeploy() multiple times will result in an NPE. Similarly, calling start() or stop() after undeploy() will also result in an NPE. This commit protects against this by checking that the deployment manager's state is not UNDEPLOYED before calling stop() and undeploy(). Fixes gh-48446