Set the global action called to report exceptions thrown by weak pointer finalizers to the user.
Modulebase-4.20.2.0Haskell2010
GHC.Weak.Finalize
- 4 values
- Packagebase-4.20.2.0
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceFinalize.hs
Handling exceptions
3 declarationsWhen an exception is thrown by a finalizer called by the garbage collector, GHC calls a global handler which can be set with setFinalizerExceptionHandler. Note that any exceptions thrown by this handler will be ignored.
Get the global action called to report exceptions thrown by weak pointer finalizers to the user.
Internal
1 declarationRun a batch of finalizers from the garbage collector. We're given an array of finalizers and the length of the array, and we just call each one in turn.