usage
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -138,3 +138,5 @@ var sysinfo = require('bindings')('sysinfo'); | ||
if(pid) { | ||
historyCpuUsage[pid] = null; | ||
if(historyCpuUsage[pid]) { | ||
historyCpuUsage[pid] = null; | ||
} | ||
} else { | ||
@@ -141,0 +143,0 @@ historyCpuUsage = {}; |
{ | ||
"name": "usage", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "simple way to lookup linux process usage", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
8755
166