Fixed: Removed unneeded lock in Runner::run()

This commit is contained in:
aristocratos 2021-10-12 16:56:47 +02:00
parent 4b4bac7edd
commit 07145f9351

View file

@ -589,8 +589,7 @@ namespace Runner {
//* Runs collect and draw in a secondary thread, unlocks and locks config to update cached values
void run(const string& box, const bool no_update, const bool force_redraw) {
atomic_lock lck(waiting);
atomic_wait(active);
if (active) atomic_wait(active);
if (stopping or Global::resized) return;
if (box == "overlay") {