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

fix Steam stop function, it can get into an infinite loop #431

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

davidmartos96
Copy link

Since a recent update I encountered that the "wait for Steam to close" function was getting stuck.
The problem seems to be the change in the while loop exit condition in 10caa7b

We can additionally check if the process is still alive.

What do you think?

@davidmartos96
Copy link
Author

Additional details after some more testing. On the Steam Deck, one of the process that it will try to stop is "steamos-manager", which is owned by root, so it will never be able to break the loop.
One way to solve it is checking if the quit/kill signals were sent successfully to the process.

Other option would be looking for exact names in the process lookup, although I'm not sure if it's not intentionally used because of platforms such as flatpak.

Ont the Steam Deck, it will try to kill the steamos-manager process, which is owned by root.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant