qtconsole icon indicating copy to clipboard operation
qtconsole copied to clipboard

Should not warn about shutting down kernels if not relevant

Open hmeine opened this issue 9 years ago • 1 comments

When using the %qtconsole magic from an existing notebook (e.g., for %debug'ging), I get the "kernel will be shut down" warning when trying to close the window. Shouldn't it be possible to see in the code that the qtconsole does not "own" the kernel (or that the kernel usage count is >= 2, if it is refcounted) and to only show the warning if relevant?

hmeine avatar Jan 12 '16 07:01 hmeine

It should be, though it's a bit complicated because the Qt console can have multiple tabs connected to different kernels. That shouldn't be a showstopper, though.

takluyver avatar Jan 12 '16 10:01 takluyver