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.
devs/derekf/for_derbyw
Derek Foreman 6 years ago
parent 0fd23928f0
commit 0b26bdc2f8
  1. 14
      src/bin/e_signals.c

@ -70,21 +70,7 @@ _e_crash(void)
{
#ifdef HAVE_WAYLAND
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;
}
#endif
#ifndef HAVE_WAYLAND_ONLY
_e_x_composite_shutdown();

Loading…
Cancel
Save