forked from enlightenment/efl
eio: cleanup thread pointer on thread finish.
This commit is contained in:
parent
73bb6d244f
commit
bf369ba661
|
@ -260,6 +260,7 @@ void
|
||||||
eio_file_unregister(Eio_File *common)
|
eio_file_unregister(Eio_File *common)
|
||||||
{
|
{
|
||||||
tracked_thread = eina_list_remove(tracked_thread, common);
|
tracked_thread = eina_list_remove(tracked_thread, common);
|
||||||
|
common->thread = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -310,6 +310,7 @@ eio_file_error(Eio_File *common)
|
||||||
{
|
{
|
||||||
if (common->error_cb)
|
if (common->error_cb)
|
||||||
common->error_cb((void*) common->data, common, common->error);
|
common->error_cb((void*) common->data, common, common->error);
|
||||||
|
common->thread = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue