ecore_imf: do not loop forever on shutdown when there is no more a display

@fix
This commit is contained in:
Boris Faure 2019-04-10 22:45:52 +02:00 committed by Mike Blumenkrantz
parent 4c85510d74
commit 87877c389a
1 changed files with 1 additions and 1 deletions

View File

@ -795,7 +795,7 @@ _ecore_imf_xim_init(void)
static void
_ecore_imf_xim_shutdown(void)
{
while (open_ims)
if (open_ims)
{
XIM_Im_Info *info = open_ims->data;
Ecore_X_Display *display = ecore_x_display_get();