Consider migration strategy for !8142
In !8142 (closed) we started adding printing to stderr when weak pointer finalizers throw unhandled exceptions.
I've just run ghc-events
(the cli tool) built with master and am seeing:
Exception during Weak# finalization (ignored): <stdout>: hFlush: resource vanished (Broken pipe)
intermittently when I "Ctrl-C" the ghc-events process.
It's clear the new behaviour is correct, and is highlighting a previously invisible error.
We should consider whether we want to impose this new behaviour on haskell programs. I imagine it would be very annoying to have my program begin to emit this to my users when my program has been working fine for years. Users will reasonably ask for a way to silence this.