mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
SystemMonitor: Re-use the /proc/all file descriptor when updating
This makes it more likely to be able to get statistics when resources are scarce.
This commit is contained in:
parent
1d33765e1c
commit
b5437216e2
2 changed files with 2 additions and 1 deletions
|
@ -159,6 +159,7 @@ private:
|
|||
RefPtr<Gfx::Bitmap> m_high_priority_icon;
|
||||
RefPtr<Gfx::Bitmap> m_low_priority_icon;
|
||||
RefPtr<Gfx::Bitmap> m_normal_priority_icon;
|
||||
RefPtr<Core::File> m_proc_all;
|
||||
};
|
||||
|
||||
namespace AK {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue