Make pid an integer

This commit is contained in:
Hari Krishna Reddy Juturu 2017-05-04 13:37:43 -07:00
parent edd28c9a91
commit ab1bcefe9e

View file

@ -956,7 +956,7 @@ std::vector<mate::Dictionary> App::GetAppMemoryInfo(v8::Isolate* isolate) {
}
pid_dict.Set("memory", memory_dict);
pid_dict.Set("pid", std::to_string(pid));
pid_dict.Set("pid", pid);
result.push_back(pid_dict);
process_entry = process_iterator.NextProcessEntry();
}