Comment 87 for bug 269651

Revision history for this message
In , William Jon McCann (william-jon-mccann) wrote :

Sorry for the really long delay. And thanks for looking into this!

I think your analysis is correct. In retrospect I should have designed this to use ref-counted objects. This patch seems like a good solution for now. Longer term I'd like to try to add ACCESS inotify support to GIO and use GFileMonitor.

I've committed this to master with a few small changes such as casting the wd int into a pointer and vice versa.

I'd appreciate any testing you can do of the committed patch. I'll be rolling a release with it shortly.

Thanks again.