We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c18838 commit 0745f88Copy full SHA for 0745f88
src/node_os.cc
@@ -137,16 +137,12 @@ static void GetCPUInfo(const FunctionCallbackInfo<Value>& args) {
137
138
static void GetFreeMemory(const FunctionCallbackInfo<Value>& args) {
139
double amount = uv_get_free_memory();
140
- if (amount < 0)
141
- return;
142
args.GetReturnValue().Set(amount);
143
}
144
145
146
static void GetTotalMemory(const FunctionCallbackInfo<Value>& args) {
147
double amount = uv_get_total_memory();
148
149
150
151
152
0 commit comments