correctly return all v8 data as opposed to just one context

This commit is contained in:
Sam 2017-07-21 16:37:05 -04:00
parent bc3a32385c
commit 440b95a6f3
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class StatsSocket < SocketServer
stats[k] = (stats[k] || 0) + v
end
end
PrettyText.v8.heap_stats.to_json
stats.to_json
else
"[\"UNKNOWN COMMAND\"]"
end