mirror of
https://github.com/jlengrand/quarkus.git
synced 2026-03-10 08:41:22 +00:00
Shutdown ExecutorService after using it
This commit is contained in:
committed by
Guillaume Smet
parent
8e66a93f8f
commit
45a5bef943
@@ -362,7 +362,7 @@ public class QuarkusDev extends QuarkusTask {
|
||||
try {
|
||||
ExecutorService es = Executors.newSingleThreadExecutor();
|
||||
es.submit(() -> copyOutputToConsole(p.getInputStream()));
|
||||
|
||||
es.shutdown();
|
||||
p.waitFor();
|
||||
} catch (Exception e) {
|
||||
p.destroy();
|
||||
|
||||
Reference in New Issue
Block a user