ecore/ecore_con - Set timer pointers to NULL when exiting them.

Otherwise this will lead to errors when some code does:
if (cl->until_deletion)
    ecore_timer_del(cl->until_deletion);



SVN revision: 61127
This commit is contained in:
Rafael Antognolli 2011-07-07 18:18:53 +00:00
parent a0eddcab48
commit 226b09c172
1 changed files with 2 additions and 0 deletions

View File

@ -1463,6 +1463,7 @@ _ecore_con_server_timer(Ecore_Con_Server *svr)
{
ecore_con_server_del(svr);
svr->until_deletion = NULL;
return ECORE_CALLBACK_CANCEL;
}
@ -1499,6 +1500,7 @@ _ecore_con_client_timer(Ecore_Con_Client *cl)
{
ecore_con_client_del(cl);
cl->until_deletion = NULL;
return ECORE_CALLBACK_CANCEL;
}