feat: Stabilize Deno.kill and Deno.Process.kill (#12375)

Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
This commit is contained in:
Ryan Dahl 2021-10-10 09:48:26 -04:00 committed by GitHub
parent ffea0f198c
commit 6ac0337165
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 52 additions and 58 deletions

View file

@ -309,7 +309,6 @@ fn op_kill(
pid: i32,
signal: String,
) -> Result<(), AnyError> {
super::check_unstable(state, "Deno.kill");
state.borrow_mut::<Permissions>().run.check_all()?;
kill(pid, &signal)?;
Ok(())