Skip to content

Commit 64be3b0

Browse files
committed
Guard against race condition creating quickfix list
Closes #282
1 parent 0722f74 commit 64be3b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/dispatch/job.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function! s:output(ch, output, ...) abort
9292
let waiting.output[-1] .= remove(output, 0)
9393
call extend(waiting.output, output)
9494

95-
if dispatch#request(getqflist({'all': 1}).title) is# request && len(waiting.output) > 1
95+
if dispatch#request(get(getqflist({'title': 1}), 'title', '')) is# request && len(waiting.output) > 1
9696
let lefm = &l:efm
9797
let gefm = &g:efm
9898
let makeprg = &l:makeprg

0 commit comments

Comments
 (0)