Skip to content
  • Ivan Kasatenko's avatar
    Do not ignore events deletion when events to be added are provided (#16916) · 67ee741b
    Ivan Kasatenko authored and Marge Bot's avatar Marge Bot committed
    Kqueue/kevent implementation used to ignore events to be unsubscribed
    from when events to be subscribed to were provided. This resulted in a
    lost notification subscription, when GHC runtime didn't listen for any
    events, yet the kernel considered otherwise and kept waking up the IO
    manager thread.
    
    This commit fixes this issue by always adding and removing all of the
    provided subscriptions.
    67ee741b