fix(ipc): Clear output until initial hook finishes

Before, it just showed '%output%'

Fixes #3131
This commit is contained in:
patrick96
2024-08-01 11:06:13 +02:00
committed by Patrick Ziegler
parent baed54bc76
commit 4d1758457b
2 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,8 @@ namespace modules {
this->module::start();
m_mainthread = thread([&] {
m_log.trace("%s: Thread id = %i", this->name(), concurrency_util::thread_id(this_thread::get_id()));
// Initial update to start with an empty output until the initial hook finishes
update_output();
update();
broadcast();
});