• Steven McDonald's avatar
    gio: Always purge kqueue subs from missing list · e305fe97
    Steven McDonald authored
    Previously, _kh_cancel_sub assumed that it only needed to call
    _km_remove if sub did not exist in subs_hash_table. This is erroneous
    because the complementary operation, _km_add_missing, can be called
    from process_kqueue_notifications, in which context sub can *only* have
    come from subs_hash_table.
    
    Since _km_remove is implemented using g_slist_remove, which is
    documented to be a noop if the list does not contain the element to be
    removed, it is safe to call _km_remove unconditionally here.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=778515
    e305fe97
Name
Last commit
Last update
..
Makefile.am Loading commit data...
dep-list.c Loading commit data...
dep-list.h Loading commit data...
gkqueuefilemonitor.c Loading commit data...
gkqueuefilemonitor.h Loading commit data...
kqueue-exclusions.c Loading commit data...
kqueue-exclusions.h Loading commit data...
kqueue-helper.c Loading commit data...
kqueue-helper.h Loading commit data...
kqueue-missing.c Loading commit data...
kqueue-missing.h Loading commit data...
kqueue-sub.c Loading commit data...
kqueue-sub.h Loading commit data...
kqueue-thread.c Loading commit data...
kqueue-thread.h Loading commit data...
kqueue-utils.c Loading commit data...
kqueue-utils.h Loading commit data...