Skip to content

Commit

Permalink
Revert "no need to load the buffer, we already have it"
Browse files Browse the repository at this point in the history
This reverts commit 8ea3620.

Fixes #485 #486 #487
  • Loading branch information
BlackIkeEagle committed Sep 26, 2020
1 parent 88e0826 commit 1f3ba27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python3/vdebug/ui/vimui.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,7 @@ def destroy(self, wipeout=True):
if self._buffer is None:
return
self.is_open = False
self._buffer = HiddenBuffer(self._buffer.contents())
if wipeout and int(vim.eval('buffer_exists("%s")' % self.name)) == 1:
vim.command('bwipeout %s' % self.name)
self.on_destroy()
Expand Down

0 comments on commit 1f3ba27

Please sign in to comment.