[Bug 52266] New: C&C XNA 4.0 Client fails to shutdown
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Dec 24 09:08:05 CST 2021
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 at winehq.org
Reporter: wine.bugzilla at 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-600
## 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.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list