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

Fixed resolving when Promise is inherited. #819

Merged
merged 1 commit into from
Nov 8, 2024

Commits on Nov 8, 2024

  1. Fixed resolving when Promise is inherited.

    Previously, njs_promise_resolve() might return njs_object_t instead of
    njs_promise_t. Later an instance of njs_object_t was put into a
    NJS_PROMISE value. Whereas njs_promise_t is always expected to be inside
    of a NJS_PROMISE value.
    
    This closes nginx#813 issue on Github.
    xeioex committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    bc73d64 View commit details
    Browse the repository at this point in the history