We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6c506d + c8bb675 commit 8486accCopy full SHA for 8486acc
src/dependability.md
@@ -81,7 +81,8 @@ destructor causes the program to abort.
81
82
Instead of failing in a destructor, provide a separate method for checking for
83
clean teardown, e.g. a `close` method, that returns a `Result` to signal
84
-problems.
+problems. If that `close` method is not called, the `Drop` implementation
85
+should do the teardown and ignore or log/trace any errors it produces.
86
87
88
<a id="c-dtor-block"></a>
0 commit comments