This is tizen only patch to solve TC issue quickliy
For more information, please refer to following upstream patch under reivew.
https://phab.enlightenment.org/D7970
This patch would be reverted when corrected patch is merged.
@tizen_only
Change-Id: I63e9faf43a848d597433fb0a74ab80118a44fa0c
void
eio_common_free(Eio_File *common)
{
+ if (common->future)
+ eina_future_cancel(common->future);
free(common);
}
struct _Eio_File
{
Ecore_Thread *thread;
+ Eina_Future *future;
const void *data;
void *container;
static inline Eina_Future *
_efl_io_manager_future(const Eo *o, Eina_Future *f, Eio_File *h)
{
+ h->future = f;
return efl_future_then(o, f,
.error = _efl_io_manager_future_cancel,
.data = h);