mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-12 06:02:30 +02:00
refactor: destroy threads first
This commit is contained in:
@ -56,6 +56,6 @@ class Backlight : public ALabel {
|
||||
std::mutex udev_thread_mutex_;
|
||||
std::vector<BacklightDev> devices_;
|
||||
// thread must destruct before shared data
|
||||
waybar::util::SleeperThread udev_thread_;
|
||||
util::SleeperThread udev_thread_;
|
||||
};
|
||||
} // namespace waybar::modules
|
||||
|
Reference in New Issue
Block a user