#107 - Check if the buffer is gone by looking for a key in the map instead.
This commit is contained in:
parent
a8c83a097b
commit
ed44d8a146
@ -78,7 +78,7 @@ function! s:HandleExit(job) abort
|
|||||||
let l:output = l:job_info.output
|
let l:output = l:job_info.output
|
||||||
let l:buffer = l:job_info.buffer
|
let l:buffer = l:job_info.buffer
|
||||||
|
|
||||||
if bufwinnr(l:buffer) == -1
|
if !has_key(g:ale_buffer_should_reset_map, l:buffer)
|
||||||
" A job ended for a buffer which has been closed, so stop here.
|
" A job ended for a buffer which has been closed, so stop here.
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user