diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/js/90_deno_ns.js | 2 | ||||
-rw-r--r-- | runtime/ops/process.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index ddc18d425..28c7c48f5 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -104,6 +104,7 @@ serveHttp: __bootstrap.http.serveHttp, resolveDns: __bootstrap.net.resolveDns, upgradeWebSocket: __bootstrap.http.upgradeWebSocket, + kill: __bootstrap.process.kill, }; __bootstrap.denoNsUnstable = { @@ -111,7 +112,6 @@ Signal: __bootstrap.signals.Signal, SignalStream: __bootstrap.signals.SignalStream, emit: __bootstrap.compilerApi.emit, - kill: __bootstrap.process.kill, setRaw: __bootstrap.tty.setRaw, consoleSize: __bootstrap.tty.consoleSize, DiagnosticCategory: __bootstrap.diagnostics.DiagnosticCategory, diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs index f6a472590..833b1822c 100644 --- a/runtime/ops/process.rs +++ b/runtime/ops/process.rs @@ -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(()) |