pull/3109/head
Aaron Beitch 10 years ago
parent de7d962ce5
commit 35746e7fd0
  1. 2
      README.md

@ -303,7 +303,7 @@ implementation available from the network.
Runtime.getRuntime().addShutdownHook(new Thread() {
@Override
public void run() {
// Use stderr here since the logger may has been reset by its JVM shutdown hook.
// Use stderr here since the logger may have been reset by its JVM shutdown hook.
System.err.println("*** shutting down gRPC server since JVM is shutting down");
HelloWorldServer.this.stop();
System.err.println("*** server shut down");

Loading…
Cancel
Save