Browse files

Kernel/notebook mapping is removed when a kernel dies.

* Previously, when a kernel died due to an external cause, the
  notebook/kernel mapping was not removed, so the kernel would
  be resused even though it was dead.
* The heartbeat now properly removes the notebook/kernel mapping.
  • Loading branch information...
ellisonbg committed Aug 15, 2011
1 parent b796f24 commit a1dcaf6711e1bfab5edb9020a6c75af6cbc32708
Showing with 1 addition and 0 deletions.
  1. +1 −0 IPython/frontend/html/notebook/
@@ -175,6 +175,7 @@ def stop_hb(self):
def kernel_died(self):
+ self.application.kernel_manager.delete_mapping_for_kernel(self.kernel_id)
{'header': {'msg_type': 'status'},
'parent_header': {},

0 comments on commit a1dcaf6

Please sign in to comment.