Skip to content
  • AndreasVoellmy's avatar
    closeFdWith invokes callbacks only after the fd is closed. · 62c27492
    AndreasVoellmy authored and tibbe's avatar tibbe committed
    Move callback invocation to after close. close must be run after the all backends are updated. Therefore the sequence is to update the backends, in the process getting the callbacks to invoke (actually just getting an IO action which when executed will execute the callbacks), call close, and finally update the Managers' callback tables for the fd and execute the callbacks.
    62c27492