mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
refactor: destroy threads first
This commit is contained in:
@ -15,10 +15,12 @@ class Memory : public ALabel {
|
||||
|
||||
private:
|
||||
static inline const std::string data_dir_ = "/proc/meminfo";
|
||||
unsigned long memtotal_;
|
||||
unsigned long memfree_;
|
||||
void parseMeminfo();
|
||||
waybar::util::SleeperThread thread_;
|
||||
|
||||
unsigned long memtotal_;
|
||||
unsigned long memfree_;
|
||||
|
||||
util::SleeperThread thread_;
|
||||
};
|
||||
|
||||
} // namespace waybar::modules
|
||||
|
Reference in New Issue
Block a user