forked from enlightenment/efl
ecore_con: wait for thread to finish at the same time as canceled to avoid race condition.
Differential Revision: https://phab.enlightenment.org/D7401
This commit is contained in:
parent
2d12a6eb4c
commit
f1e98e6e97
|
@ -415,6 +415,7 @@ _efl_net_ip_address_resolve_del(void *data,
|
|||
if (ctx->thread)
|
||||
{
|
||||
ecore_thread_cancel(ctx->thread);
|
||||
ecore_thread_wait(ctx->thread, 1);
|
||||
ctx->thread = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue