You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Whisky can't stop Wine processes after a bottle's wineserver has exited #440
If a bottle's wineserver exits while its programs are still running, Whisky loses all control over them. Stop runs wineserver -k, which finds no server and does nothing; the sidebar probes the wineserver, finds none and shows the bottle as idle; and the startup cleanup only looks at bottles whose wineserver is running. The processes stay until logout or a manual kill, and with the engine bug in #439 some of them spin at full CPU. On my Mac this left a Steam client and a batch of Wine services from a week earlier running, two of them at a full core each.
These processes can be found reliably: each one maps shared memory from the bottle's server folder in /tmp/.wine-<uid>, and a running wineserver always holds that folder's lock file. A process that maps from the folder while nobody holds the lock belongs to a server that is gone and can never do anything again, so stopping it loses nothing.
The fix stops these processes when a bottle is stopped, when a session ends, and at launch.
Activity