mirror of
https://github.com/polybar/polybar.git
synced 2025-02-24 15:58:22 -05:00
fix(registry): Offset module loading
This commit is contained in:
parent
37ceb4d5c4
commit
4991e18b19
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ void Registry::load()
|
||||||
for (auto &&entry : this->modules) {
|
for (auto &&entry : this->modules) {
|
||||||
std::lock_guard<std::mutex> wait_lck(this->wait_mtx);
|
std::lock_guard<std::mutex> wait_lck(this->wait_mtx);
|
||||||
entry->module->start();
|
entry->module->start();
|
||||||
|
std::this_thread::sleep_for(10ms);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue