8000 Postpone Stork shutdown · quarkusio/quarkus@9893fa2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9893fa2

Browse files
cescoffiergsmet
authored andcommitted
Postpone Stork shutdown
Stork can be used during shutdown tasks, and so should be stopped last. (cherry picked from commit 2406383)
1 parent 60bfb02 commit 9893fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/smallrye-stork/runtime/src/main/java/io/quarkus/stork/SmallRyeStorkRecorder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public void initialize(ShutdownContext shutdown, RuntimeValue<Vertx> vertx, Stor
2727
Stork.initialize(infrastructure);
2828
}
2929

30-
shutdown.addShutdownTask(new Runnable() {
30+
shutdown.addLastShutdownTask(new Runnable() {
3131
@Override
3232
public void run() {
3333
Stork.shutdown();

0 commit comments

Comments
 (0)
0