remove all listeners on processKill

matrix-notifications^2
Moe 2023-02-09 15:51:30 -08:00
parent 7bed07f94b
commit 678ba1c36b
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ module.exports = (s,config,lang) => {
doResolve(response)
}
try{
proc.removeAllListeners()
proc.on('exit',() => {
response.msg = 'proc.on.exit'
clearTimeout(killTimer)