erlang_ls
erlang_ls copied to clipboard
Still running after closing the editor
Is your feature request related to a problem? Please describe.
- Open multiple test files.
- Close editor.
https://user-images.githubusercontent.com/81605435/172979105-e51ada7b-428e-4117-8851-f318ea583e80.mov
Describe the solution you'd like
End process immediately. Maybe we can add a stoping timer in job process, such as
Pid = self(),
spawn_link(fun() ->
timer:sleep(3000), %% Overtime
notify_end(Token, Total, ProgressEnabled),
exit(Pid, kill)
end);
Additional context test file: data_test.zip