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