fix: critical memory leak.

This commit is contained in:
2vg 2018-07-27 17:33:21 +09:00
parent e61c5bf880
commit a715462b65

View File

@ -35,6 +35,7 @@ export default function() {
};
ev.emit('serverStats', stats);
log.push(stats);
if (log.length > 50) log.shift();
}
tick();