https://bugs.winehq.org/show_bug.cgi?id=52266
Bug ID: 52266 Summary: C&C XNA 4.0 Client fails to shutdown Product: Wine Version: 7.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: wine.bugzilla@kevindegeling.nl Distribution: ---
The Command & Conquer community client, build in XNA 4.0 can't shut down by its own. Kill(-9) works, as does closing the the window which triggers the same close() method.
## Files
Root application: - https://github.com/CnCNet/xna-cncnet-client
Stand alone application for testing: - https://www.moddb.com/mods/tiberian-sun-client/downloads/tiberian-sun-client...
## How to reproduce
- Standard prefix, 64bit is fine - Download TS Client from Moddb (easiest) - Extract in prefix Program Files (x86) - Run TiberianSun.exe - Close using prominent button in the bototom-left
## Code snippet
``` private void ExitClient() { Logger.Log("Exiting."); WindowManager.CloseGame(); #if !XNA Thread.Sleep(1000); Environment.Exit(0); #endif } ```
The application itself is open source, so you can easily compare the desired result with the current bug.