Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close kernel connection without shutting it down #549

Open
sprig opened this issue Jul 23, 2024 · 3 comments
Open

Close kernel connection without shutting it down #549

sprig opened this issue Jul 23, 2024 · 3 comments

Comments

@sprig
Copy link

sprig commented Jul 23, 2024

Hi!

Sometimes it's useful to close a kernel connection without shutting it down (e.g. when connected to a server and it is associated to a notebook). Right now when trying to close a kernel buffer I'm forced to kill the kernel as well. Any workarounds? Also, why this behavior in the first place?

@nnicandro
Copy link
Collaborator

I think this behavior is there more out of convience to not have to manually kill a kernel. Typically, in my workflow, I just launch kernels associated with one REPL buffer and leave the REPL buffer open for the lifetime of the kernel. I'm only conneected via that REPL buffer so it made sense to shutdown the kernel when the REPL buffer was no longer being used.

It does make sense, as you have pointed out, to not shutdown the kernel when killing a REPL buffer.

No workaround other than fixing the root of the problem. I'll look into it.

@sprig
Copy link
Author

sprig commented Aug 24, 2024

Thanks!

@sprig sprig closed this as completed Aug 24, 2024
@sprig sprig reopened this Aug 24, 2024
@sprig
Copy link
Author

sprig commented Aug 24, 2024

Closed by mistake :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants