Make pid an integer
This commit is contained in:
parent
edd28c9a91
commit
ab1bcefe9e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue