Skip to content
  • Tamar Christina's avatar
    Release console for ghci wrapper · 3ec579d5
    Tamar Christina authored
    Summary:
    It seems the call that caused issues with the gcc wrapper before
    was needed for the ghci wrapper in order for the child process
    to be the one handling console events.
    
    This code slightly refactors the wrappers to make sure only ghci
    calls FreeConsole and nothing else.
    
    Test Plan: ./validate , open ghci.exe press ctrl+c
    
    Reviewers: RyanGlScott, austin, hvr, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, erikd
    
    GHC Trac Issues: #14150
    
    Differential Revision: https://phabricator.haskell.org/D4028
    3ec579d5