Show More
@@ -367,8 +367,9 b' class NotebookApp(BaseIPythonApplication):' | |||||
367 | """ |
|
367 | """ | |
368 | self.log.info('Shutting down kernels') |
|
368 | self.log.info('Shutting down kernels') | |
369 | km = self.kernel_manager |
|
369 | km = self.kernel_manager | |
370 | while km.kernel_ids: |
|
370 | # copy list, since kill_kernel deletes keys | |
371 |
|
|
371 | for kid in list(km.kernel_ids): | |
|
372 | km.kill_kernel(kid) | |||
372 |
|
373 | |||
373 | def start(self): |
|
374 | def start(self): | |
374 | ip = self.ip if self.ip else '[all ip addresses on your system]' |
|
375 | ip = self.ip if self.ip else '[all ip addresses on your system]' |
General Comments 0
You need to be logged in to leave comments.
Login now