Skip to content
  • Facundo Domínguez's avatar
    base: Have the argument of mask restore the state. · 2b25a589
    Facundo Domínguez authored and Ben Gamari's avatar Ben Gamari committed
    The implementation of `mask` and `uninterruptibleMask` assumed so far
    that the restore argument would be called in a context with the same
    masking state as that set by `mask` or `uninterruptibleMask`.
    
    This patch has the restore argument restore the masking, whatever the
    current masking state is.
    
    Test Plan: validate
    
    Reviewers: simonmar, hvr, austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie, qnikst
    
    Differential Revision: https://phabricator.haskell.org/D1327
    
    GHC Trac Issues: #10149
    2b25a589
To find the state of this project's repository at the time of any of these versions, check out the tags.