We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c32d06 commit 15773a0Copy full SHA for 15773a0
ftplugin/python/vim_ipython.py
@@ -173,12 +173,6 @@ def km_from_string(s=''):
173
continue
174
attempt += 1
175
176
- km = KernelManager(connection_file=fullpath)
177
- km.load_connection_file()
178
-
179
- kc = km.client()
180
- kc.start_channels()
181
182
if 'connection_file' in KernelManager.class_trait_names():
183
# 0.12 uses files instead of a collection of ports
184
# include default IPython search path
@@ -244,6 +238,7 @@ def send(msg, **kwargs):
244
238
connected = True
245
239
except:
246
240
echo("IPython connection attempt #%d failed - no messages" % attempt, "Warning")
241
+ kc.stop_channels()
247
242
248
243
249
#XXX: backwards compatibility for IPython < 1.0
0 commit comments