Skip to content
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

Avoid race condition when displaying images with eog #5507

Merged
merged 1 commit into from May 25, 2021
Merged

Avoid race condition when displaying images with eog #5507

merged 1 commit into from May 25, 2021

Commits on May 23, 2021

  1. Avoid race condition when displaying images with eog

    Image.show() expects its display command to run synchronously, but eog
    is asynchronous if there's another instance already running -- it just
    asks the other instance to open the file and then immediately exits.
    This causes intermittent failures where the file gets deleted before
    the running eog instance manages to open it.
    
    Fix this by using the -n option, so eog starts a new instance each time
    instead of trying to reuse an existing one.
    mconst committed May 23, 2021
    Configuration menu
    Copy the full SHA
    5c8aa27 View commit details
    Browse the repository at this point in the history