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