-
Bug
-
Resolution: Done
-
Major
-
1.4.15.Final
-
None
When undertow server fails to start, for example with port already in use exception, the resources allocated while starting the server are not cleaned up, which prevents JVM from terminating.
While starting the undertow server (io.undertow.Undertow#start) the xnio worker is started, which starts few non daemon threads. If code fails with some exception after starting the xnio workers, start method throws exception to the caller without cleaning up the worker, this is causing worker to run even when undertow server fails to start.