Stop doing complicated things after a segfault
The chance of any of this succeeded is near zero, and it sometimes ends up in a tight loop after a crash.
This commit is contained in:
parent
0fd23928f0
commit
0b26bdc2f8
|
@ -70,21 +70,7 @@ _e_crash(void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_WAYLAND
|
#ifdef HAVE_WAYLAND
|
||||||
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
|
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
|
||||||
{
|
|
||||||
# ifdef USE_MODULE_WL_DRM
|
|
||||||
if (!strstr(ecore_evas_engine_name_get(e_comp->ee), "drm")) return;
|
|
||||||
Ecore_Drm2_Device *dev;
|
|
||||||
|
|
||||||
dev = ecore_evas_data_get(e_comp->ee, "device");
|
|
||||||
if (dev)
|
|
||||||
{
|
|
||||||
ecore_drm2_outputs_destroy(dev);
|
|
||||||
ecore_drm2_device_close(dev);
|
|
||||||
}
|
|
||||||
ecore_drm2_shutdown();
|
|
||||||
# endif
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_WAYLAND_ONLY
|
#ifndef HAVE_WAYLAND_ONLY
|
||||||
_e_x_composite_shutdown();
|
_e_x_composite_shutdown();
|
||||||
|
|
Loading…
Reference in New Issue