Added explit delete of m_all_players to avoid a (non-reproducible)
crash that might depend on the order in which objects are freed. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -362,6 +362,7 @@ UserConfig::UserConfig()
|
||||
// -----------------------------------------------------------------------------
|
||||
UserConfig::~UserConfig()
|
||||
{
|
||||
UserConfigParams::m_all_players.clearAndDeleteAll();
|
||||
} // ~UserConfig
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user