Skip to content

Commit f0d59b2

Browse files
SanneDavideD
authored andcommitted
[#736] Closing of Vert.x instance should be waited on
1 parent d635cfc commit f0d59b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/vertx/impl/DefaultVertxInstance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public Vertx getVertx() {
3434
@Override
3535
public void stop() {
3636
if ( vertx != null ) {
37-
vertx.close();
37+
vertx.close().toCompletionStage().toCompletableFuture().join();
3838
}
3939
}
4040

0 commit comments

Comments
 (0)