Skip to content

Commit 7f1045f

Browse files
fix: clear kernel instance so the global/singleton is not reused again
1 parent 13137a7 commit 7f1045f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipykernel/kernelapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def new_event_loop(self):
568568
# TODO: we might want to pass the same arguments, except the file
569569
# NOTE: we actually start a new kernel, but once this works
570570
# we can actually think about reusing the kernel object
571-
self.initialize(argv=['-f', 'conn_fork.json', '--debug'])
571+
self.kernel_class.clear_instance()
572572
self.start()
573573
pass
574574
else:

0 commit comments

Comments
 (0)