8000 Isolated Processes 11: Use a user-chosen handler for drop failures by marti4d · Pull Request #199 · rust-minidump/minidump-writer · GitHub
[go: up one dir, main page]

Skip to content

Isolated Processes 11: Use a user-chosen handler for drop failures - #199

Merged
marti4d merged 2 commits into
mainfrom
isolated_process/11-drop-fail-handler
Aug 17, 2026
Merged

marti4d merged 2 commits into
mainfrom
isolated_process/11-drop-fail-handler

Conversation

@marti4d
@marti4d marti4d commented Aug 10, 2026
Copy link
Copy Markdown
Collaborator

Logging drop failures is generally a good idea... Except that logging in the executor could be a disaster if a logger has already been installed that tries to print to STDERR.

This allows the user to install their own optional Drop failure handler. In an executor process, this simply wouldn't ever be used, so the executor will always do nothing when a Drop fails. Unfortunate, but not much else we can do.

Logging drop failures is generally a good idea... Except that logging in the
executor could be a disaster if a logger has already been installed that
tries to print to STDERR.

This allows the user to install their own optional Drop failure handler. In
an executor process, this simply wouldn't ever be used, so the executor will
always do nothing when a Drop fails. Unfortunate, but not much else we can do.
@Jake-Shadle
Jake-Shadle removed their request for review August 12, 2026 08:21
Base automatically changed from isolated_process/10-refactor-process-reader to main August 12, 2026 15:00
@marti4d
marti4d merged commit dc863ef into main Aug 17, 2026
16 checks passed
@marti4d
marti4d deleted the isolated_process/11-drop-fail-handler branch August 17, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0