Commit d81c21cb authored by Gleb Popov's avatar Gleb Popov

Fix crash due to invalid iterator in ObjectManager::tryRegisterPostponed().

parent 9c76205b86ef
......@@ -235,6 +235,7 @@ void ObjectManager::tryRegisterPostponed()
{
qDebug() << "Pop " << *it << " from m_postponedRegistrations";
m_postponedRegistrations.erase(it);
break;
}
}
} while(postponedSize > m_postponedRegistrations.size());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment