mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Revert "kill zombie processes to reduce memory usage"
This reverts commit 19e39f6321
.
This commit is contained in:
parent
61c32d99e7
commit
ba07761de3
@ -18,10 +18,7 @@ module.exports = (function () {
|
|||||||
proc.stdout.on('data', function (data) { probeData.push(data) })
|
proc.stdout.on('data', function (data) { probeData.push(data) })
|
||||||
proc.stderr.on('data', function (data) { errData.push(data) })
|
proc.stderr.on('data', function (data) { errData.push(data) })
|
||||||
|
|
||||||
proc.on('exit', code => {
|
proc.on('exit', code => { exitCode = code })
|
||||||
exitCode = code
|
|
||||||
proc.kill()
|
|
||||||
})
|
|
||||||
proc.on('error', err => reject(err))
|
proc.on('error', err => reject(err))
|
||||||
proc.on('close', () => {
|
proc.on('close', () => {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user