haskell-benign
haskell-benign copied to clipboard
Plug memory leaks in `withAltering`
There is comment there, but the withAltering function can presumably leak memory (the local state for the newly created async would fail to be removed) when an asynchronous exception happens at the wrong time. This is not a functional requirement, but it's still bad.