Skip to content

Move FdGuard to IOUtils and improve it#2607

Merged
FooBarWidget merged 2 commits intostable-6.1from
refactor/fdguard
Apr 15, 2025
Merged

Move FdGuard to IOUtils and improve it#2607
FooBarWidget merged 2 commits intostable-6.1from
refactor/fdguard

Conversation

@FooBarWidget
Copy link
Member

@FooBarWidget FooBarWidget commented Apr 9, 2025

Improvements:

  • Make it moveable.
  • Make it unabuseable: don't throwing exceptions in destructor if exception is already being thrown (= undefined behavior). Just warn.

Partially addresses #2596.

Improvements:
- Make it moveable.
- Make it unabuseable: don't allow throwing exceptions in destructor (can lead to undefined behavior). Just warn.

Partially addresses #2596.
@FooBarWidget FooBarWidget requested a review from CamJN April 9, 2025 01:57
@FooBarWidget FooBarWidget mentioned this pull request Apr 9, 2025
14 tasks
@FooBarWidget FooBarWidget merged commit 1ed689e into stable-6.1 Apr 15, 2025
38 checks passed
@FooBarWidget FooBarWidget deleted the refactor/fdguard branch April 15, 2025 10:14
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