forked from enlightenment/enlightenment
Only remove module if it fails to load, not if it just isn't enabled.
SVN revision: 14596
This commit is contained in:
parent
56e12df8b0
commit
07a635bcad
|
@ -54,7 +54,10 @@ e_module_init(void)
|
|||
pl = l;
|
||||
l = l->next;
|
||||
m = e_module_new(em->name);
|
||||
if ((em->enabled) && (m)) e_module_enable(m);
|
||||
if (m)
|
||||
{
|
||||
if (em->enabled) e_module_enable(m);
|
||||
}
|
||||
else
|
||||
{
|
||||
IF_FREE(em->name);
|
||||
|
|
Loading…
Reference in New Issue