Skip to content

Commit

Permalink
Update manager.py
Browse files Browse the repository at this point in the history
fix kernel can only resstart once  issue
  • Loading branch information
mofanke authored Sep 17, 2021
1 parent 1fcf65a commit a3bae8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jupyter_client/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ async def _async_post_start_kernel(self, **kw) -> None:
`**kw` : optional
keyword arguments that were used in the kernel process's launch.
"""
self.shutting_down = False
self.start_restarter()
self._connect_control_socket()
assert self.provisioner is not None
Expand Down

0 comments on commit a3bae8d

Please sign in to comment.