diff --git a/netty/src/main/java/io/grpc/transport/netty/NettyServer.java b/netty/src/main/java/io/grpc/transport/netty/NettyServer.java
index <HASH>..<HASH> 100644
--- a/netty/src/main/java/io/grpc/transport/netty/NettyServer.java
+++ b/netty/src/main/java/io/grpc/transport/netty/NettyServer.java
@@ -121,7 +121,7 @@ public class NettyServer implements Server {
 
   @Override
   public void shutdown() {
-    if (channel == null || channel.isOpen()) {
+    if (channel == null || !channel.isOpen()) {
       return;
     }
     channel.close().addListener(new ChannelFutureListener() {
Fix netty closure check

During Service removal a condition was inverted but incompletely, which
caused the Netty server to never shutdown.