e_exec - after an instance has its exe deleted - set exe to NULL

This commit is contained in:
Carsten Haitzler 2013-11-18 23:35:12 +09:00
parent b926ac2f51
commit 89fdebb9bf
1 changed files with 2 additions and 1 deletions

View File

@ -773,7 +773,8 @@ _e_exec_cb_exit(void *data __UNUSED__, int type __UNUSED__, void *event)
inst->ref--;
_e_exe_instance_watchers_call(inst, E_EXEC_WATCH_STOPPED);
_e_exec_instance_free(inst);
inst->exe = NULL;
return ECORE_CALLBACK_PASS_ON;
}