jgoerzen/hslogger — pull request #6 by darkangel-ua (2012-01-07 09:42:50+00:00)
Title: Allow graceful shutdown

I've added removeAllHandlers to allow ghci start/stop cycles. Without it start/stop/start failed because of opened files. I catch UserInterrupt do removeAllHandlers and then can do :run main again in ghci.