We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16e60ab commit 3d7c3cbCopy full SHA for 3d7c3cb
1 file changed
lua/dired/init.lua
@@ -872,8 +872,8 @@ local function create_debounced_search()
872
return
873
end
874
875
- if current_job and current_job.kill then
876
- current_job.kill(9)
+ if current_job and not current_job:is_closing() then
+ current_job:kill(9)
877
current_job = nil
878
879
@@ -971,8 +971,8 @@ local function create_debounced_search()
971
is_searching = false
972
pending_search = nil
973
974
975
- current_job.kill(9) -- SIGKILL
+ current_job:kill(9) -- SIGKILL
976
977
978
end,
0 commit comments