Skip to content

Commit

Permalink
fix: clear kernel instance so the global/singleton is not reused again
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Jun 16, 2019
1 parent 13137a7 commit 7f1045f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipykernel/kernelapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def new_event_loop(self):
# TODO: we might want to pass the same arguments, except the file
# NOTE: we actually start a new kernel, but once this works
# we can actually think about reusing the kernel object
self.initialize(argv=['-f', 'conn_fork.json', '--debug'])
self.kernel_class.clear_instance()
self.start()
pass
else:
Expand Down

0 comments on commit 7f1045f

Please sign in to comment.