Skip to content
Myr

Remove try/catch inside `kill()` (#273)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by ehmicky · committed by GitHub · parent 0bd5596 · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:index.js+1 added-3 removed
245 unmodified lines
246 const forceKillAfter = Number.isInteger(options.forceKillAfter) ?247 options.forceKillAfter :248 5000;249 setTimeout(() => {250 try {251 originalKill('SIGKILL');250 originalKill('SIGKILL');252 } catch (_) {}251 }, forceKillAfter).unref();252 }253254 return killResult;
223 unmodified lines