We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ff292b commit 99a6d70Copy full SHA for 99a6d70
maven/src/main/java/org/jboss/shamrock/maven/runner/RuntimeUpdatesHandler.java
@@ -27,7 +27,7 @@ public class RuntimeUpdatesHandler implements HttpHandler {
27
28
private static final long TWO_SECONDS = 2000;
29
30
- private final HttpHandler next;
+ private volatile HttpHandler next;
31
private final Path classesDir;
32
private final Path sourcesDir;
33
private volatile long nextUpdate;
@@ -69,6 +69,7 @@ public void handleRequest(HttpServerExchange exchange) throws Exception {
69
try {
70
if (doScan()) {
71
//TODO: this should be handled better
72
+ next = UndertowDeploymentTemplate.ROOT_HANDLER;
73
UndertowDeploymentTemplate.ROOT_HANDLER.handleRequest(exchange);
74
return;
75
}
0 commit comments