mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
fix(lsp): do not output to stderr before exiting the process (#11562)
This commit is contained in:
parent
8f00b5542c
commit
a13db3650e
1 changed files with 0 additions and 1 deletions
|
@ -12,7 +12,6 @@ pub fn start(parent_process_id: u32) {
|
||||||
sleep(Duration::from_secs(30)).await;
|
sleep(Duration::from_secs(30)).await;
|
||||||
|
|
||||||
if !is_process_active(parent_process_id) {
|
if !is_process_active(parent_process_id) {
|
||||||
eprintln!("Parent process lost. Exiting.");
|
|
||||||
std::process::exit(1);
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue