Skip to content

Commit

Permalink
Fix blank screen at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
o-sdn-o committed Mar 13, 2023
1 parent 588fefa commit 0a6602d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netxs/desktopio/generics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ namespace netxs::generics
auto guard = std::unique_lock{ mutex };
while (alive)
{
synch.wait(guard);
if (queue.empty() /* Not empty at startup */) synch.wait(guard);
while (queue.size())
{
auto& [token, proc] = queue.front();
Expand Down

0 comments on commit 0a6602d

Please sign in to comment.