From 4375a48744c8f424ce45400302ac52907c1e6320 Mon Sep 17 00:00:00 2001 From: Zach Allaun Date: Sat, 12 Aug 2023 18:25:09 -0400 Subject: [PATCH] fix(runtime): remove dead code --- lib/next_ls/runtime.ex | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/next_ls/runtime.ex b/lib/next_ls/runtime.ex index cfd46334..16040205 100644 --- a/lib/next_ls/runtime.ex +++ b/lib/next_ls/runtime.ex @@ -248,10 +248,6 @@ defmodule NextLS.Runtime do end def handle_info({:nodedown, node}, %{node: node} = state) do - unless is_ready(state) do - state.on_initialized.({:error, :nodedown}) - end - {:stop, {:shutdown, :nodedown}, state} end