[DEBUG] Correct the resource update properties
This commit is contained in:
parent
a771457d89
commit
da12244f16
2
build
2
build
@ -1 +1 @@
|
|||||||
Subproject commit 2985efea70b5bff3bda00e948a072a63e1bc3d96
|
Subproject commit c73da6c4aca375ba3d9ed391d7052e119daa9a90
|
@ -175,7 +175,7 @@ void ewol::resource::Manager::localAdd(const ewol::object::Shared<ewol::Resource
|
|||||||
// in case of error ...
|
// in case of error ...
|
||||||
bool ewol::resource::Manager::checkResourceToRemove() {
|
bool ewol::resource::Manager::checkResourceToRemove() {
|
||||||
//EWOL_INFO("remove object in Manager");
|
//EWOL_INFO("remove object in Manager");
|
||||||
m_resourceListToUpdate.clear();
|
updateContext();
|
||||||
for (auto it(m_resourceList.begin()); it!=m_resourceList.end(); ++it) {
|
for (auto it(m_resourceList.begin()); it!=m_resourceList.end(); ++it) {
|
||||||
if ((*it) == nullptr) {
|
if ((*it) == nullptr) {
|
||||||
m_resourceList.erase(it);
|
m_resourceList.erase(it);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user