base: Report errors during Handle flushing
Previously we would ignore exceptions thrown while finalizing Handle
s. However, this meant that conditions like -ENOSPC
while flushing output buffers would have no user-facing consequences. Fix this by adding a mechanism for reporting exceptions which occur during finalization.
Fixes #21336 (closed), #21213 (closed).
To do
-
Figure out why the performMajorGc
is needed inT21336b
-
Release notes entry -
Better describe sensitive nature of finalizer handler implementation