View Issue Details

IDProjectCategoryView StatusLast Update
0003287The Dark ModCodingpublic12.01.2013 14:00
Reportertels Assigned Totels  
Status resolvedResolutionfixed 
Product VersionTDM 1.08 
Target VersionTDM 2.00Fixed in VersionTDM 2.00 
Summary0003287: MapShutdown() is called twice during shutdown
DescriptionIf the game exits, the map is first shutdown, then the game is shutdown, which shuts the map down again.

This can lead to double-free and also leads to duplicated messages about sub-systems freeing their memory and so on.
TagsNo tags attached.




12.01.2013 14:00

reporter   ~0005005

Fixed with revision #5681. During normal shutdown, the map shutdown is now only called once (if a map is loaded), or not at all (if no map is loaded).

Formerly, it was called once if no map was loaded, twice if a normal map was loaded during normal shutdown, and three times when an error occured while a map was loaded.

Issue History

Date Modified Username Field Change
12.01.2013 11:45 tels New Issue
12.01.2013 11:45 tels Status new => assigned
12.01.2013 11:45 tels Assigned To => tels
12.01.2013 14:00 tels Note Added: 0005005
12.01.2013 14:00 tels Status assigned => resolved
12.01.2013 14:00 tels Fixed in Version => TDM 2.00
12.01.2013 14:00 tels Resolution open => fixed