Skip to content

base: Report errors during Handle flushing

Ben Gamari requested to merge wip/T21336 into master

Previously we would ignore exceptions thrown while finalizing Handles. 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 in T21336b
  • Release notes entry
  • Better describe sensitive nature of finalizer handler implementation
Edited by Ben Gamari

Merge request reports