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:
hikerstk
2010-11-26 00:23:19 +00:00
parent a123718680
commit ec93b9889a

View File

@@ -362,6 +362,7 @@ UserConfig::UserConfig()
// -----------------------------------------------------------------------------
UserConfig::~UserConfig()
{
UserConfigParams::m_all_players.clearAndDeleteAll();
} // ~UserConfig
// -----------------------------------------------------------------------------