1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2025-06-30 18:52:47 -04:00

fix(modules): Warmup in runner thread to avoid block

This commit is contained in:
Michael Carlberg 2017-01-27 13:29:10 +01:00
parent b241018786
commit eb5c82a5c3
8 changed files with 47 additions and 43 deletions

View file

@ -2,6 +2,7 @@
#include "drawtypes/label.hpp"
#include "modules/github.hpp"
#include "utils/concurrency.hpp"
#include "modules/meta/base.inl"
@ -25,8 +26,6 @@ namespace modules {
m_label = load_optional_label(m_conf, name(), TAG_LABEL, "Notifications: %notifications%");
m_label->replace_token("%notifications%", m_empty_notifications ? "0" : "");
}
assert(static_cast<bool>(m_label));
}
/**