-
Notifications
You must be signed in to change notification settings - Fork 41.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Devtools restart does not work with reactor-netty #9146
Comments
This behavior shows that after stopping and restarting a new server instance with the new Spring context, reactor-netty's I've opened reactor/reactor-netty#90 as our current use of the |
I can't reproduce this with the WebFlux and Reactive MongoDB starters. Have I missed something? |
Are you using Reactor Netty, or another server implementation instead (Tomcat, Undertow, Jetty?). The other possible reason is that the changes you're making to your project aren't "incompatible" with the previous version which still runs. Declaring a WebFlux controller handler and changing its behavior (as I've done in the reactor netty issue I've created) should trigger the issue. Note: technically, that |
This commit is a temporary workaround for gh-9146; it cleans the HTTP resources associated with the Netty server.
Note: I've added a temporary workaround for this in 330aa70 |
This commit updates the workaround for issue gh-9146
A WebFlux app using netty can lead to "ReactiveWebServerApplicationContext has been closed already"
The text was updated successfully, but these errors were encountered: