Skip to content

wasi-nn: deinit w/o init #4339

Closed
Closed
@yamt

Description

@yamt

wasi_nn_ctx_destroy seems to call backend's deinit even if init was not successful.
it doesn't seem safe at least for wasi_nn_tensorflowlite.cpp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions