Skip to content

Commit 837d02f

Browse files
authored
fix: properly close the symbol table on shutdown (#65)
1 parent 2bd8d59 commit 837d02f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/next_ls.ex

+2
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ defmodule NextLS do
174174
end
175175

176176
def handle_request(%Shutdown{}, lsp) do
177+
SymbolTable.close(lsp.assigns.symbol_table)
178+
177179
{:reply, nil, assign(lsp, exit_code: 0)}
178180
end
179181

0 commit comments

Comments
 (0)