diff --git a/crates/repl/src/session.rs b/crates/repl/src/session.rs index c43a3d9ae33179673e482ea053969eac44b5d9cd..fd67a34dc1fbbb46eebc4e37122cbde0d48b9de8 100644 --- a/crates/repl/src/session.rs +++ b/crates/repl/src/session.rs @@ -16,8 +16,7 @@ use gpui::{ use language::Point; use project::Fs; use runtimelib::{ - ExecuteRequest, InterruptRequest, JupyterMessage, JupyterMessageContent, KernelInfoRequest, - ShutdownRequest, + ExecuteRequest, InterruptRequest, JupyterMessage, JupyterMessageContent, ShutdownRequest, }; use settings::Settings as _; use std::{ops::Range, sync::Arc, time::Duration}; @@ -173,24 +172,6 @@ impl Session { .ok(); } }); - - // For some reason sending a kernel info request will brick the ark (R) kernel. - // Note that Deno and Python do not have this issue. - if this.kernel_specification.name == "ark" { - return; - } - - // Get kernel info after (possibly) letting the kernel start - cx.spawn(|this, mut cx| async move { - cx.background_executor() - .timer(Duration::from_millis(120)) - .await; - this.update(&mut cx, |this, _cx| { - this.send(KernelInfoRequest {}.into(), _cx).ok(); - }) - .ok(); - }) - .detach(); }) .ok(); }