##// END OF EJS Templates
only shutdown kernel when it is owned by the console
MinRK -
Show More
@@ -121,7 +121,7 b' class ZMQTerminalInteractiveShell(TerminalInteractiveShell):'
121 121
122 122 This creates completion machinery that can be used by client code,
123 123 either interactively in-process (typically triggered by the readline
124 library), programatically (such as in test suites) or out-of-prcess
124 library), programmatically (such as in test suites) or out-of-process
125 125 (typically over the network by remote frontends).
126 126 """
127 127 from IPython.core.completerlib import (module_completer,
@@ -143,7 +143,7 b' class ZMQTerminalInteractiveShell(TerminalInteractiveShell):'
143 143
144 144 def ask_exit(self):
145 145 super(ZMQTerminalInteractiveShell, self).ask_exit()
146 if self.exit_now:
146 if self.exit_now and self.manager:
147 147 self.client.shutdown()
148 148
149 149 def run_cell(self, cell, store_history=True):
General Comments 0
You need to be logged in to leave comments. Login now