Skip to content

[pull] master from slgobinath:master #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Apr 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add comment
  • Loading branch information
deltragon committed Mar 26, 2025
commit 1b7fb1eff4f5954b57db2121278e384d1d6cf05d
3 changes: 3 additions & 0 deletions safeeyes/plugins/smartpause/ext_idle_notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ def _run(self):
# unfortunately, this seems like the best way to make sure that dispatch
# doesn't block potentially forever (up to multiple seconds in my usage)
read, _w, _x = select.select((display_fd, self._r_channel), (), ())

if self._r_channel in read:
# the channel was written to, which means stop() was called
# at this point, self._running should be false as well
break

if display_fd in read:
Expand Down