Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hClose002 with the threaded RTS IO manager
If 'close fd' failed, then the MVars in the callbackTables would be left empty, which caused deadlocks when we tried to 'take' them again. Now we use 'finally' to ensure that they are refilled even if 'close' throws an exception.
- Loading branch information