Skip to content
  • Joey Hess's avatar
    fix process and FD leak · 5c32196a
    Joey Hess authored
    Fix process and file descriptor leak that was exposed when git-annex was
    built with ghc 8.2.1. Apparently ghc has changed its behavior of GC
    of open file handles that are pipes to running processes. That
    broke git-annex test on OSX due to running out of FDs.
    
    Audited for all uses of Annex.new and made stopCoProcesses be called
    once it's done with the state. Fixed several places that might have
    leaked in other situations than running the test suite.
    
    This commit was sponsored by Ewen McNeill.
    5c32196a