diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2022-05-19 14:05:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 14:05:57 +0200 |
commit | 5ffcbcfcc84b9cce891acb165bc7644ec4a0fe64 (patch) | |
tree | 082a7f4e4d585f97f6a73d620abdd5af6f734f7a /runtime/js/40_spawn.js | |
parent | 4e1ca1d1787f25ab9f0a72ccf9d8028f70b3a7ed (diff) |
feat: make Child.kill argument optional (#14669)
Diffstat (limited to 'runtime/js/40_spawn.js')
-rw-r--r-- | runtime/js/40_spawn.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/40_spawn.js b/runtime/js/40_spawn.js index 77236ee2b..7a2f06b6a 100644 --- a/runtime/js/40_spawn.js +++ b/runtime/js/40_spawn.js @@ -165,7 +165,7 @@ }; } - kill(signo) { + kill(signo = "SIGTERM") { if (this.#rid === null) { throw new TypeError("Child process has already terminated."); } |