Manual: caution about custom block finalizers#13045
Merged
damiendoligez merged 2 commits intoApr 3, 2024
Merged
Conversation
Contributor
|
Nick Barnes (2024/03/22 07:26 -0700):
Presumably no Changes entry required. Maybe there should be a formal
way for non-committers to indicate their opinion on this when creating
a PR?
There is. See file `HACKIGN.adoc`, lines 566 onwards:
```
`Changes updated` checks that the link:Changes[] file has been modified
(hopefully to add a new entry). It can be disabled by including "_(no
change entry needed)_" in one of your commit messages -- but in general
all patches submitted should come with a Changes entry; see the
guidelines in link:CONTRIBUTING.md[].
```
|
OlivierNicole
approved these changes
Apr 2, 2024
OlivierNicole
left a comment
Contributor
There was a problem hiding this comment.
Disclaimer: I don’t know much about finalisers, but the addition seems to be simply a forward reference (with some useful repetition) to a later paragraph, so I believe this is accurate.
de78c92 to
07c478c
Compare
Member
|
The CI failure is obviously not related to this PR. Merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Small change to the manual emphasizing the existing warning about behaviour of custom block finalizers. Fixes #12820, in the sense that the problem there was caused by a finalizer calling
caml_enter_blocking_section().[edited to remove question answered by @shindere in comments]