Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibJS: Add missing MUST in DisposableStack.prototype.use #17161

Merged
merged 1 commit into from Jan 24, 2023

Conversation

davidot
Copy link
Member

@davidot davidot commented Jan 24, 2023

Although the spec has a TRY here I believe this is a spec issue together with the missing TRY just above this change.

See tc39/proposal-explicit-resource-management#142

Although the spec has a TRY here I believe this is a spec issue
together with the missing TRY just above this change.
@davidot davidot requested a review from linusg as a code owner January 24, 2023 15:38
@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Jan 24, 2023
@linusg
Copy link
Member

linusg commented Jan 24, 2023

Ref #17162

@linusg linusg merged commit bb483c8 into SerenityOS:master Jan 24, 2023
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label Jan 24, 2023
@davidot davidot deleted the fix-missing-must branch January 24, 2023 16:15
@Hendiadyoin1
Copy link
Contributor

add_disposible
Sounds like it could theoretically oom...

@davidot
Copy link
Member Author

davidot commented Jan 24, 2023

add_disposible Sounds like it could theoretically oom...

It could yes, do we need to do something different in such cases?

@Hendiadyoin1
Copy link
Contributor

Hendiadyoin1 commented Jan 24, 2023

I think we have TRY_OR_OOM, I remember that there was talk about the spec not being OOM aware and us fixing some places to be so

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.

None yet

3 participants