On 09/05/13 20:50, Brandon Allbery wrote: > ghci is in many ways like an endless (or at least until ":l"/":r") > do-block. In particular, the handle remains in scope after you run your > commands at the prompt, so it is not garbage collected. If you enclose > it into its own do block, this introduces local scope and the handle > goes out of scope and is garbage collected at the end.
I am not sure how the handle is relevant - I do not expect it to garbage collected before the close or rely on that, and my problem happens earlier already. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe