Horde3D

Next-Generation Graphics Engine
It is currently 25.05.2013, 14:02

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Beta4: ResourceManager::~ResourceManager
PostPosted: 25.02.2010, 15:48 
Offline

Joined: 25.02.2010, 15:32
Posts: 1
Code:
ResourceManager::~ResourceManager()
{
   clear();

   // Release resource types
   map< int, ResourceRegEntry >::const_iterator itr = _registry.begin();
   while( itr != _registry.end() )
   {
      if( itr->second.initializationFunc != 0x0 )
         (*itr->second.initializationFunc)();

      ++itr;
   }
}


I think releaseFunc must be called here, not initializationFunc.


Top
 Profile  
 
 Post subject: Re: Beta4: ResourceManager::~ResourceManager
PostPosted: 28.02.2010, 18:15 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Thanks for spotting that!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group