fix: bar removed
This commit is contained in:
parent
fbe19d886a
commit
31416ffae6
|
@ -120,6 +120,9 @@ void waybar::modules::Network::worker() {
|
||||||
for (auto i = 0; i < ec; i++) {
|
for (auto i = 0; i < ec; i++) {
|
||||||
if (events[i].data.fd == nl_socket_get_fd(ev_sock_)) {
|
if (events[i].data.fd == nl_socket_get_fd(ev_sock_)) {
|
||||||
nl_recvmsgs_default(ev_sock_);
|
nl_recvmsgs_default(ev_sock_);
|
||||||
|
} else {
|
||||||
|
thread_.stop();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue