Skip to content

Commit 2b15e48

Browse files
committed
🐛 Close channel prior to exit
1 parent 3d5816c commit 2b15e48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/guise.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ function! guise#open(address, argv) abort
1111
call s:request(chan, 'edit', [fnamemodify(filename, ':p')])
1212
endfor
1313
endif
14+
call s:close(chan)
1415
qall!
1516
catch
1617
call s:request(chan, 'error', [v:exception, v:throwpoint])
17-
cquit!
18-
finally
1918
call s:close(chan)
19+
cquit!
2020
endtry
2121
endfunction
2222

0 commit comments

Comments
 (0)