Created
December 2, 2014 16:29
-
-
Save codedmart/aa9e4b03c10515c205af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
weak <- mkWeakPtr mbox $ Just $ do | |
closeToken h tok -- TODO: don't close if already closed | |
atomicModifyIORef' (rdbWait h) $ \mboxes -> | |
(M.delete tok mboxes, ()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment