Fixed crash
Former-commit-id: 4388600646138181546d59d6602b1e1cacaf59ec
This commit is contained in:
@@ -114,7 +114,6 @@ void NzResource::NotifyCreated()
|
||||
auto it = m_resourceListeners.begin();
|
||||
while (it != m_resourceListeners.end())
|
||||
{
|
||||
ResourceListenerMap::iterator iterator = it++;
|
||||
if (!it->first->OnResourceCreated(this, it->second.first))
|
||||
RemoveResourceListenerIterator(it++);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user