mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
travis test
This commit is contained in:
parent
0b55ded600
commit
4dac7795c0
@ -222,8 +222,7 @@ module.exports = function(God) {
|
||||
God.killProcess(proc.process.pid, function(err) {
|
||||
proc.pm2_env.status = cst.STOPPED_STATUS;
|
||||
|
||||
if (err && err.type && err.type === 'timeout'
|
||||
&& proc.pm2_env.exec_mode != 'cluster_mode') {
|
||||
if (err && err.type && err.type === 'timeout') {
|
||||
proc.removeAllListeners && proc.removeAllListeners();
|
||||
}
|
||||
pidusage.unmonitor(proc.process.pid);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user