forked from enlightenment/edi
debug: Fix up exe_free usage as it is not needed for pipe_run calls
This commit is contained in:
parent
208dc9ed2f
commit
ca83101e61
|
@ -324,7 +324,7 @@ _edi_debug_active_check_cb(void *data EINA_UNUSED)
|
||||||
|
|
||||||
if (pid == -1)
|
if (pid == -1)
|
||||||
{
|
{
|
||||||
if (_debug_exe) ecore_exe_free(_debug_exe);
|
if (_debug_exe) ecore_exe_quit(_debug_exe);
|
||||||
_debug_exe = NULL;
|
_debug_exe = NULL;
|
||||||
elm_object_disabled_set(_button_quit, EINA_TRUE);
|
elm_object_disabled_set(_button_quit, EINA_TRUE);
|
||||||
elm_object_disabled_set(_button_start, EINA_FALSE);
|
elm_object_disabled_set(_button_start, EINA_FALSE);
|
||||||
|
@ -351,8 +351,6 @@ void edi_debugpanel_stop(void)
|
||||||
if (pid != -1)
|
if (pid != -1)
|
||||||
ecore_exe_quit(_debug_exe);
|
ecore_exe_quit(_debug_exe);
|
||||||
|
|
||||||
if (_debug_exe) ecore_exe_free(_debug_exe);
|
|
||||||
|
|
||||||
_debug_exe = NULL;
|
_debug_exe = NULL;
|
||||||
|
|
||||||
elm_object_disabled_set(_button_quit, EINA_TRUE);
|
elm_object_disabled_set(_button_quit, EINA_TRUE);
|
||||||
|
|
|
@ -25,10 +25,6 @@ edi_exe_wait(const char *command)
|
||||||
ecore_thread_main_loop_end();
|
ecore_thread_main_loop_end();
|
||||||
|
|
||||||
waitpid(pid, &exit, 0);
|
waitpid(pid, &exit, 0);
|
||||||
|
|
||||||
ecore_thread_main_loop_begin();
|
|
||||||
ecore_exe_free(exe);
|
|
||||||
ecore_thread_main_loop_end();
|
|
||||||
return exit;
|
return exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue