rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=d3d00f152d1578a7aa85600b057b0c7bc86342f4

commit d3d00f152d1578a7aa85600b057b0c7bc86342f4
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Thu Feb 11 10:54:05 2016 +0200

    project_manager: disable aggresive resource checks
---
 src/bin/project_manager/project_manager.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/bin/project_manager/project_manager.h 
b/src/bin/project_manager/project_manager.h
index c6fcc88..27f95fb 100644
--- a/src/bin/project_manager/project_manager.h
+++ b/src/bin/project_manager/project_manager.h
@@ -748,6 +748,12 @@ pm_resource_usage_del(Eina_List *list, Eina_Stringshare 
*name, void *usage_data)
 
    l_del = eina_list_search_sorted_list(res->used_in, 
(Eina_Compare_Cb)resource_cmp, usage_data);
 
+   TODO("remove this after fixing resource managment");
+   if (!l_del)
+     {
+        ERR("Can't delete resource \"%s\"", name);
+        return;
+     }
    assert(l_del);
 
    res->used_in = eina_list_remove_list(res->used_in, l_del);
@@ -772,6 +778,12 @@ pm_resource_usage_unsorted_del(Eina_List *list, 
Eina_Stringshare *name, void *us
 
    l_del = eina_list_search_sorted_list(res->used_in, 
(Eina_Compare_Cb)resource_cmp, usage_data);
 
+   TODO("remove this after fixing resource managment");
+   if (!l_del)
+     {
+        ERR("Can't delete resource \"%s\"", name);
+        return;
+     }
    assert(l_del);
 
    res->used_in = eina_list_remove_list(res->used_in, l_del);

-- 


Reply via email to