erlang_ls icon indicating copy to clipboard operation
erlang_ls copied to clipboard

Still running after closing the editor

Open misaki214 opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

  1. Open multiple test files.
  2. 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

misaki214 avatar Jun 10 '22 02:06 misaki214