diff --git a/src/command_line.cc b/src/command_line.cc
index 975fec18..123f62a5 100644
--- a/src/command_line.cc
+++ b/src/command_line.cc
@@ -264,6 +264,7 @@ void LaunchStdinLoop(Config* config,
           break;
         }
 
+        case IpcId::Shutdown:
         case IpcId::Exit:
         case IpcId::Initialize:
         case IpcId::TextDocumentDidOpen: