Call proper function for gc register/unregister.

SVN revision: 46983
This commit is contained in:
Christopher Michael 2010-03-08 06:44:28 +00:00
parent 5a95840222
commit 85d663223c
1 changed files with 2 additions and 2 deletions

View File

@ -38,14 +38,14 @@ e_modapi_init(E_Module *m)
ci = _net_config_item_get("0");
}
net_cfg->mod = m;
_gc_register();
_net_gc_register();
return m;
}
EAPI int
e_modapi_shutdown(E_Module *m)
{
_gc_unregister();
_net_gc_unregister();
net_cfg->mod = NULL;
if (net_cfg->cfd) e_object_del(E_OBJECT(net_cfg->cfd));