Show More
@@ -142,7 +142,8 class NotebookWebApplication(web.Application): | |||||
142 | # TODO: This causes a hard crash in ZMQStream.close, which sets |
|
142 | # TODO: This causes a hard crash in ZMQStream.close, which sets | |
143 | # self.socket to None to hastily. We will need to fix this in PyZMQ |
|
143 | # self.socket to None to hastily. We will need to fix this in PyZMQ | |
144 | # itself. For now, we just leave the old kernel running :( |
|
144 | # itself. For now, we just leave the old kernel running :( | |
145 | # self.kill_kernel(kernel_id) |
|
145 | # Maybe this is fixed now, but nothing was changed really. | |
|
146 | self.kill_kernel(kernel_id) | |||
146 |
|
147 | |||
147 | self.log.debug("Kernel restarted: %s -> %s" % (kernel_id, new_kernel_id)) |
|
148 | self.log.debug("Kernel restarted: %s -> %s" % (kernel_id, new_kernel_id)) | |
148 | return new_kernel_id |
|
149 | return new_kernel_id |
General Comments 0
You need to be logged in to leave comments.
Login now