Commit 9096fc1
committed
fix BufWinLeave for the main Vdebug windows
Avoids trace:
```
Error detected while processing BufWinLeave Autocommands for "DebuggerBreakpoints":
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/user/.vim/pack/bundle/opt/vdebug/python3/vdebug/debugger_interface.py", line 114, in mark_window_as_closed
self.session_handler.ui().mark_window_as_closed(window)
File "/home/user/.vim/pack/bundle/opt/vdebug/python3/vdebug/ui/vimui.py", line 173, in mark_window_as_closed
self.windows.window(name).mark_as_closed()
File "/home/user/.vim/pack/bundle/opt/vdebug/python3/vdebug/ui/vimui.py", line 533, in mark_as_closed
self.destroy()
File "/home/user/.vim/pack/bundle/opt/vdebug/python3/vdebug/ui/vimui.py", line 598, in destroy
vim.command('bwipeout %s' % self.name)
vim.error: Vim(bwipeout):E937: Attempt to delete a buffer that is in use: DebuggerBreakpoints
```
fixes: #451
Signed-off-by: BlackEagle <ike.devolder@gmail.com>1 parent 8ea3620 commit 9096fc1
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | | - | |
| 589 | + | |
| 590 | + | |
590 | 591 | | |
591 | 592 | | |
592 | 593 | | |
| |||
0 commit comments