]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(termdebug): close all buffers in the same way
authorDamien Riegel <damien@riegel.io>
Fri, 14 Jun 2024 16:15:11 +0000 (12:15 -0400)
committerChristian Brabandt <cb@256bit.org>
Fri, 14 Jun 2024 18:41:36 +0000 (20:41 +0200)
commitfce324f55718192ae7de389bb88d423eed7977a2
tree422d50e16ee246f2981109ed44b26e6392391874
parentafbe5359e981e5d19ad23c394aefe60395c3648e
runtime(termdebug): close all buffers in the same way

For ASM and Variables buffer, check were done to make sure they existed
before attempting to close them, but not for debugged program or gdb
communication. The debugged program window is a user-facing one and
user might close it manually, so it's better to check if it exists.

Signed-off-by: Damien Riegel <damien@riegel.io>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim