forked from enlightenment/enlightenment
handle e_comp deref during e_dnd shutdown to avoid crash
This commit is contained in:
parent
ade27e168a
commit
590a20fdd9
|
@ -733,7 +733,9 @@ _e_drag_win_get(const E_Drop_Handler *h, int xdnd)
|
||||||
case E_CLIENT_TYPE:
|
case E_CLIENT_TYPE:
|
||||||
case E_ZONE_TYPE:
|
case E_ZONE_TYPE:
|
||||||
default:
|
default:
|
||||||
hwin = e_comp->ee_win;
|
/* protect against crashes during shutdown */
|
||||||
|
if (e_comp)
|
||||||
|
hwin = e_comp->ee_win;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue