| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0000109 | Spring engine | Linux | public | 2006-03-04 12:55 | 2006-05-24 20:55 | ||||
| Reporter | robed | ||||||||
| Assigned To | tvo | ||||||||
| Priority | normal | Severity | trivial | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000109: Some crashes on linux (maybe other platforms) won't restore video modes, etc... | ||||||||
| Description | Anywhere there's a call to "exit(retCode)" a crash will cause any changes to the video mode to remain (ei: my desktop is 1600x1200, spring is 1024x768; after a crash, it stays at 1024x768). I'll be posting a fix at http://taspring.clan-sy.com/phpbb/viewtopic.php?t=4076 | ||||||||
| Additional Information | Anywhere there's a call to "exit(retCode)" a crash will cause any changes to the video mode to remain (ei: my desktop is 1600x1200, spring is 1024x768; after a crash, it stays at 1024x768). Fix is to cause SpringApp::Shutdown() to be called before a call to exit(retCode) I did this by modifying Main.cpp adding a Main.h and adding a function "static void SpringApp::ExitCleanFromAnywhere(int retCode)" I'll be posting the diff of main on http://taspring.clan-sy.com/phpbb/viewtopic.php?t=4076 Many files are effected, but I'll give just one as an example on the forum | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files |
| ||||||||


