mirror of
https://github.com/polybar/polybar.git
synced 2026-03-07 00:36:56 +00:00
fix(modules): Warmup in runner thread to avoid block
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user