Skip to content

Error was ignored if ThreadSafeFunction::GetContext() failed #581

@legendecas

Description

@legendecas

Currently napi_status was ignored in ThreadSafeFunction::GetContext(). No napi_status shall be ignored as it would unstablize the behavior we'd expect.

Since the function signature doesn't support error returning, an alternative might be aborting on non-napi_ok statuses.

Originally posted by @legendecas in #546

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions