forked from enlightenment/efl
eio: Fix monitor shutdown when main loop did never run.
SVN revision: 76365
This commit is contained in:
parent
08698e9637
commit
fb7e0ea5b5
|
@ -39,3 +39,7 @@
|
||||||
2012-09-06 Vincent Torri
|
2012-09-06 Vincent Torri
|
||||||
|
|
||||||
* Improve file monitoring on Windows to mimic more inotify behavior.
|
* Improve file monitoring on Windows to mimic more inotify behavior.
|
||||||
|
|
||||||
|
2012-09-10 Cedric Bail
|
||||||
|
|
||||||
|
* Fix monitor shutdown when mainloop did never run.
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
Eio 1.8.0
|
||||||
|
|
||||||
|
Changes since Eio 1.7.0:
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
Additions:
|
||||||
|
|
||||||
|
Fixes:
|
||||||
|
- fix monitor shutdown when mainloop did never run.
|
||||||
|
|
||||||
|
Improvements:
|
||||||
|
|
||||||
|
Removal:
|
||||||
|
|
||||||
Eio 1.7.0
|
Eio 1.7.0
|
||||||
|
|
||||||
Changes since Eio 1.0.0:
|
Changes since Eio 1.0.0:
|
||||||
|
|
|
@ -158,7 +158,20 @@ eio_monitor_init(void)
|
||||||
void
|
void
|
||||||
eio_monitor_shutdown(void)
|
eio_monitor_shutdown(void)
|
||||||
{
|
{
|
||||||
/* FIXME: Need to cancel all request... */
|
Eina_Iterator *it;
|
||||||
|
Eio_Monitor *monitor;
|
||||||
|
|
||||||
|
it = eina_hash_iterator_data_new(_eio_monitors);
|
||||||
|
EINA_ITERATOR_FOREACH(it, monitor)
|
||||||
|
{
|
||||||
|
if (monitor->exist)
|
||||||
|
{
|
||||||
|
eio_file_cancel(monitor->exist);
|
||||||
|
monitor->exist = NULL;
|
||||||
|
}
|
||||||
|
monitor->delete_me = EINA_TRUE;
|
||||||
|
}
|
||||||
|
eina_iterator_free(it);
|
||||||
eina_hash_free(_eio_monitors);
|
eina_hash_free(_eio_monitors);
|
||||||
|
|
||||||
eio_monitor_backend_shutdown();
|
eio_monitor_backend_shutdown();
|
||||||
|
|
Loading…
Reference in New Issue