Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Games do not stop when Mir window closed #5

Open
wmww opened this issue Nov 20, 2020 · 1 comment
Open

Games do not stop when Mir window closed #5

wmww opened this issue Nov 20, 2020 · 1 comment

Comments

@wmww
Copy link
Member

wmww commented Nov 20, 2020

To reproduce:

  • Open Mircade on X (haven't tested any other way of running it, tried both current stable and the version I built from the core20 branch)
  • Run a game (tested with Neverputt, Neverball and Starfighter)
  • Close the Mir-on-X window

Expected:

  • Window closes and Mircade stops

Actual:

  • Window closes but the game's process runs indefinitely and consumes a considerable amount of CPU
@AlanGriffiths
Copy link
Member

I'd guess this is because the games ignore a close request and Mir doesn't follow that with a SIGKILL. That is reasonable most of the time, but maybe it should kill things in a shutdown scenario.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants