Removed FIXME mentionning plib
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5130 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
c5a12ecafa
commit
713bb84de9
@ -86,10 +86,6 @@ ItemManager::~ItemManager()
|
|||||||
{
|
{
|
||||||
for(CI_type i=m_all_meshes.begin(); i!=m_all_meshes.end(); ++i)
|
for(CI_type i=m_all_meshes.begin(); i!=m_all_meshes.end(); ++i)
|
||||||
{
|
{
|
||||||
// FIXME: What about this plib comment:
|
|
||||||
// We can't use ssgDeRefDelete here, since then the object would be
|
|
||||||
// freed, and when m_all_models is deleted, we have invalid memory
|
|
||||||
// accesses.
|
|
||||||
i->second->drop();
|
i->second->drop();
|
||||||
}
|
}
|
||||||
m_all_meshes.clear();
|
m_all_meshes.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user