Update custom.cpp
This commit is contained in:
@ -35,8 +35,7 @@ waybar::modules::Custom::~Custom() {
|
|||||||
|
|
||||||
void waybar::modules::Custom::delayWorker() {
|
void waybar::modules::Custom::delayWorker() {
|
||||||
thread_ = [this] {
|
thread_ = [this] {
|
||||||
for( int i : this->pid_children_ )
|
for (int i: this->pid_children_) {
|
||||||
{
|
|
||||||
int status;
|
int status;
|
||||||
waitpid(i, &status, 0);
|
waitpid(i, &status, 0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user