benchmarks: driverServer graceful shutdown (#5033)

This commit is contained in:
Jan Tattermusch 2018-11-06 19:07:15 +01:00 committed by GitHub
parent f8f86da480
commit e2e990b01a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ public class LoadWorker {
log.log(Level.INFO, "Received quitWorker request.");
responseObserver.onNext(Control.Void.getDefaultInstance());
responseObserver.onCompleted();
driverServer.shutdownNow();
driverServer.shutdown();
} catch (Throwable t) {
log.log(Level.WARNING, "Error during shutdown", t);
}