Fix server termination

This commit is contained in:
Oleg Zhurakousky
2021-10-18 19:06:04 +02:00
parent dad3ff75e2
commit 56a75cd571
2 changed files with 3 additions and 3 deletions

View File

@@ -82,8 +82,8 @@ class GrpcServer implements SmartLifecycle {
@Override
public void stop() {
logger.info("Shutting down gRPC server");
this.server.shutdown();
this.executor.shutdown();
this.server.shutdownNow();
this.executor.shutdownNow();
}
@Override