Skip to content

Commit 43698d4

Browse files
cescoffierDavideD
authored andcommitted
Postpone Stork shutdown
Stork can be used during shutdown tasks, and so should be stopped last.
1 parent 7aa3a53 commit 43698d4

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)