summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2016-07-15 17:00:33 -0700
committerCedric Bail <cedric@osg.samsung.com>2016-07-15 17:07:49 -0700
commitbf369ba66197a62921124bfa2e5d22b1945bfaf3 (patch)
tree31f6fd7970d91d85e6d42bb245dd3daa5e69713c /src/lib/eio
parent73bb6d244f0208cbd0e25f0075548cb2e9041e15 (diff)
eio: cleanup thread pointer on thread finish.
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/eio_main.c1
-rw-r--r--src/lib/eio/eio_single.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eio/eio_main.c b/src/lib/eio/eio_main.c
index de050f2a2f..7f11a08d85 100644
--- a/src/lib/eio/eio_main.c
+++ b/src/lib/eio/eio_main.c
@@ -260,6 +260,7 @@ void
260eio_file_unregister(Eio_File *common) 260eio_file_unregister(Eio_File *common)
261{ 261{
262 tracked_thread = eina_list_remove(tracked_thread, common); 262 tracked_thread = eina_list_remove(tracked_thread, common);
263 common->thread = NULL;
263} 264}
264 265
265/** 266/**
diff --git a/src/lib/eio/eio_single.c b/src/lib/eio/eio_single.c
index f47c18310f..c7841b1a96 100644
--- a/src/lib/eio/eio_single.c
+++ b/src/lib/eio/eio_single.c
@@ -310,6 +310,7 @@ eio_file_error(Eio_File *common)
310{ 310{
311 if (common->error_cb) 311 if (common->error_cb)
312 common->error_cb((void*) common->data, common, common->error); 312 common->error_cb((void*) common->data, common, common->error);
313 common->thread = NULL;
313} 314}
314 315
315void 316void