Fix server termination

This commit is contained in:
Oleg Zhurakousky
2021-10-18 19:06:04 +02:00
parent 1c5c3e833f
commit f714178c74
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