in hClose, free the handle buffer by replacing it with an empty one
authorSimon Marlow <simonmar@microsoft.com>
Thu, 19 Jul 2007 16:14:19 +0000 (16:14 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 19 Jul 2007 16:14:19 +0000 (16:14 +0000)
commitf90f86bf14d4c0cf1858ed58f5cdfa044b6b8ffb
tree4c54ef707a1e9c4cc15deafa45864b0d63f70964
parentb268a419675edfb0c2d150a282230a48aa7c9c5e
in hClose, free the handle buffer by replacing it with an empty one
This helps reduce the memory requirements for a closed but unfinalised
Handle.
GHC/Handle.hs