v7.1.1
Fixed 3
- Windows: memory is reported again when pm2 runs as a service, using pidusage 4.1.0 and wmic when available
- Linux: overlapping monitoring calls no longer leak a /proc/<pid>/stat file descriptor per new pid in the daemon, which previously grew with every restart
- pm2.connect() called right after pm2.disconnect() no longer crashes with "Cannot read properties of null (reading 'sock')"
From pm2
7.1.1
Bug Fixes
- Windows: memory is reported again when pm2 runs as a service (
pidusage4.1.0, wmic is used again when available) #6173 - Linux: overlapping monitoring calls no longer leak a
/proc/<pid>/statfd per new pid in the daemon (grew with every restart) pm2.connect()right afterpm2.disconnect()no longer crashes withCannot read properties of null (reading 'sock')#6002