dont' drop the handle

This commit is contained in:
cschen 2025-02-17 22:52:30 +01:00
parent 57bc434901
commit bdcc4b11ad
2 changed files with 1 additions and 1 deletions
plugin

View file

@ -199,3 +199,4 @@ class CodempDeleteBufferCommand(sublime_plugin.WindowCommand):
except KeyError: pass
finally:
vws.handle.delete_buffer(buffer_id).wait()

View file

@ -82,7 +82,6 @@ class BufferManager():
logger.debug(f"dropping buffer {self.id}")
self.view.close()
self.handle.clear_callback()
self.handle = None
def __hash__(self):
return hash(self.id)