diff --git a/ipy_view.py b/ipy_view.py index 8a830a6..b78e6e4 100644 --- a/ipy_view.py +++ b/ipy_view.py @@ -521,6 +521,7 @@ def delete_current_cell(self, edit): self.update_notebook_from_buffer() self.notebook.delete_cell(cell_index) + self.cells[cell_index].teardown(edit) del self.cells[cell_index] for cell in self.cells: if cell.index >= cell_index: