NEWS Vincent
On Mon, Sep 10, 2012 at 3:55 AM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: > eio: backport r76365. > > > Author: cedric > Date: 2012-09-09 18:55:21 -0700 (Sun, 09 Sep 2012) > New Revision: 76366 > Trac: http://trac.enlightenment.org/e/changeset/76366 > > Modified: > branches/eio-1.0/ChangeLog branches/eio-1.0/src/lib/eio_monitor.c > branches/eio-1.7/ChangeLog branches/eio-1.7/src/lib/eio_monitor.c > > Modified: branches/eio-1.0/ChangeLog > =================================================================== > --- branches/eio-1.0/ChangeLog 2012-09-10 01:52:39 UTC (rev 76365) > +++ branches/eio-1.0/ChangeLog 2012-09-10 01:55:21 UTC (rev 76366) > @@ -13,3 +13,7 @@ > 2012-06-07 Mike Blumenkrantz > > * 1.0.1 release > + > +2012-09-10 Cedric Bail > + > + * Fix monitor shutdown when mainloop did never run. > > Modified: branches/eio-1.0/src/lib/eio_monitor.c > =================================================================== > --- branches/eio-1.0/src/lib/eio_monitor.c 2012-09-10 01:52:39 UTC (rev > 76365) > +++ branches/eio-1.0/src/lib/eio_monitor.c 2012-09-10 01:55:21 UTC (rev > 76366) > @@ -158,7 +158,20 @@ > 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); > > eio_monitor_backend_shutdown(); > > Modified: branches/eio-1.7/ChangeLog > =================================================================== > --- branches/eio-1.7/ChangeLog 2012-09-10 01:52:39 UTC (rev 76365) > +++ branches/eio-1.7/ChangeLog 2012-09-10 01:55:21 UTC (rev 76366) > @@ -39,3 +39,7 @@ > 2012-09-06 Vincent Torri > > * Improve file monitoring on Windows to mimic more inotify behavior. > + > +2012-09-10 Cedric Bail > + > + * Fix monitor shutdown when mainloop did never run. > > Modified: branches/eio-1.7/src/lib/eio_monitor.c > =================================================================== > --- branches/eio-1.7/src/lib/eio_monitor.c 2012-09-10 01:52:39 UTC (rev > 76365) > +++ branches/eio-1.7/src/lib/eio_monitor.c 2012-09-10 01:55:21 UTC (rev > 76366) > @@ -158,7 +158,20 @@ > 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); > > eio_monitor_backend_shutdown(); > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel