diff --git a/plugin/commands/workspace.py b/plugin/commands/workspace.py index a13cb3c..9dc8b7f 100644 --- a/plugin/commands/workspace.py +++ b/plugin/commands/workspace.py @@ -199,3 +199,4 @@ class CodempDeleteBufferCommand(sublime_plugin.WindowCommand): except KeyError: pass finally: vws.handle.delete_buffer(buffer_id).wait() + diff --git a/plugin/core/buffers.py b/plugin/core/buffers.py index b25735c..fd3db26 100644 --- a/plugin/core/buffers.py +++ b/plugin/core/buffers.py @@ -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)