return -1 for ecore_con_server_fd_get() in the rare case that the server has already been deleted
SVN revision: 76582
This commit is contained in:
parent
3f27034dc7
commit
ec11fcc9c1
|
@ -936,3 +936,7 @@
|
||||||
|
|
||||||
* Fix ecore_x_randr to actually return crtcs possible outputs properly.
|
* Fix ecore_x_randr to actually return crtcs possible outputs properly.
|
||||||
* Fix ecore_x_randr to actually return crtcs outputs properly.
|
* Fix ecore_x_randr to actually return crtcs outputs properly.
|
||||||
|
|
||||||
|
2012-09-13 Mike Blumenkrantz
|
||||||
|
|
||||||
|
* Return -1 for ecore_con_server_fd_get() in the case that the server has already been deleted
|
||||||
|
|
|
@ -953,6 +953,7 @@ ecore_con_server_fd_get(Ecore_Con_Server *svr)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (svr->created) return -1;
|
if (svr->created) return -1;
|
||||||
|
if (svr->delete_me) return -1;
|
||||||
return ecore_main_fd_handler_fd_get(svr->fd_handler);
|
return ecore_main_fd_handler_fd_get(svr->fd_handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue