fix(custom): do not take the custom module ref

This commit is contained in:
Alexis
2018-08-21 10:50:09 +02:00
parent 8be67d5008
commit 0dba3abc1d
5 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,7 @@ waybar::modules::Network::Network(const Json::Value& config)
label_.set_name("network");
// Trigger first values
getInfo();
dp.emit();
update();
thread_ = [this] {
char buf[4096];
uint64_t len = netlinkResponse(sock_fd_, buf, sizeof(buf),