forked from enlightenment/terminology
terminology: remove hack that's not needed anymore
edbus doesn't crash efreet if the mainloop isn't ran anymore (see test in edbus' testsuite) so lets remove the hack. SVN revision: 82844
This commit is contained in:
parent
bbd7701258
commit
84564c8f5d
|
@ -984,26 +984,6 @@ main_ipc_new(Ipc_Instance *inst)
|
|||
free(nargv);
|
||||
}
|
||||
|
||||
static void
|
||||
_dummy_exit3(void *data __UNUSED__)
|
||||
{
|
||||
elm_exit();
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_dummy_exit2(void *data __UNUSED__)
|
||||
{
|
||||
ecore_job_add(_dummy_exit3, NULL);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_dummy_exit(void *data __UNUSED__)
|
||||
{
|
||||
ecore_idler_add(_dummy_exit2, NULL);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
static const char *emotion_choices[] = {
|
||||
"auto", "gstreamer", "xine", "generic",
|
||||
NULL
|
||||
|
@ -1403,12 +1383,8 @@ remote:
|
|||
inst.hold = hold;
|
||||
inst.nowm = nowm;
|
||||
if (ipc_instance_add(&inst))
|
||||
{
|
||||
ecore_timer_add(0.1, _dummy_exit, NULL);
|
||||
elm_run();
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
if ((!single) && (config->multi_instance))
|
||||
{
|
||||
ipc_instance_new_func_set(main_ipc_new);
|
||||
|
@ -1481,8 +1457,6 @@ remote:
|
|||
eina_log_domain_unregister(_log_domain);
|
||||
_log_domain = -1;
|
||||
|
||||
// efreet/edbus... you are being bad! :( disable shutdown for now
|
||||
// to avoid segs.
|
||||
elm_shutdown();
|
||||
return retval;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue