and dont del exe if its not there

SVN revision: 33916
This commit is contained in:
Carsten Haitzler 2008-03-04 11:35:00 +00:00
parent 91ede9eacc
commit be433bba00
1 changed files with 7 additions and 4 deletions

View File

@ -277,10 +277,13 @@ e_modapi_shutdown(E_Module *m)
e_configure_registry_category_del("advanced");
e_gadcon_provider_unregister(&_gadcon_class);
ecore_exe_terminate(battery_config->batget_exe);
ecore_exe_free(battery_config->batget_exe);
battery_config->batget_exe = NULL;
if (battery_config->batget_exe)
{
ecore_exe_terminate(battery_config->batget_exe);
ecore_exe_free(battery_config->batget_exe);
battery_config->batget_exe = NULL;
}
if (battery_config->batget_data_handler)
{