mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 07:58:04 +03:00
Ignore errors killing child processes
This commit is contained in:
parent
6084ef52e7
commit
fbde059748
@ -138,7 +138,10 @@ class BufferedProcess
|
||||
.filter (pid) -> /^\d+$/.test(pid)
|
||||
.map (pid) -> parseInt(pid)
|
||||
.filter (pid) -> pid isnt parentPid and 0 < pid < Infinity
|
||||
process.kill(pid) for pid in pidsToKill
|
||||
|
||||
for pid in pidsToKill
|
||||
try
|
||||
process.kill(pid)
|
||||
@killProcess()
|
||||
|
||||
killProcess: ->
|
||||
|
Loading…
Reference in New Issue
Block a user