Skip to content

Commit

Permalink
Merge pull request #57 from phi-mah/repeat-bug
Browse files Browse the repository at this point in the history
Stop communication channels
  • Loading branch information
bfredl authored Jan 9, 2021
2 parents 92acedf + 109434c commit c21d8a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rplugin/python3/nvim_ipy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def connect(self, argv):
has_previous = self.has_connection
if has_previous:
# TODO: kill last kernel if we owend it?
JupyterVimApp.instance().kernel_client.stop_channels()
JupyterVimApp.clear_instance()

self.ip_app = JupyterVimApp.instance()
Expand Down

0 comments on commit c21d8a7

Please sign in to comment.