Update custom.cpp

This commit is contained in:
Alexis Rouillard 2025-06-22 09:42:14 +02:00 committed by GitHub
parent f314150736
commit d6b6158ae9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -35,8 +35,7 @@ waybar::modules::Custom::~Custom() {
void waybar::modules::Custom::delayWorker() {
thread_ = [this] {
for( int i : this->pid_children_ )
{
for (int i: this->pid_children_) {
int status;
waitpid(i, &status, 0);
}