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 03d02d7 commit f9b8988Copy full SHA for f9b8988
src/node_os.cc
@@ -132,16 +132,12 @@ static void GetCPUInfo(const FunctionCallbackInfo<Value>& args) {
132
133
static void GetFreeMemory(const FunctionCallbackInfo<Value>& args) {
134
double amount = uv_get_free_memory();
135
- if (amount < 0)
136
- return;
137
args.GetReturnValue().Set(amount);
138
}
139
140
141
static void GetTotalMemory(const FunctionCallbackInfo<Value>& args) {
142
double amount = uv_get_total_memory();
143
144
145
146
147
0 commit comments