Skip to content

Commit

Permalink
waitable: Set running to false before nudge
Browse files Browse the repository at this point in the history
Fixes bubble where we can stay open
  • Loading branch information
misyltoad committed Dec 4, 2023
1 parent 6935dfe commit 936d86e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/waitable.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ namespace gamescope
if ( !m_bRunning )
return;

Nudge();
m_bRunning = false;
Nudge();

if ( m_nEpollFD >= 0 )
{
Expand Down

0 comments on commit 936d86e

Please sign in to comment.