Skip to content

JsiRuntime should disconnect to prevent users from holding on to it. #14667

Description

Follow up from #14648.

The JsiRuntime that is handed out is not supposed to be held onto by the app. The JsiRuntime object that is passed out in events / from the CallInvoker should disconnect after the event/invoke call to prevent users from holding on to the object. In core this is passed to the app as a Runtime& which make it more clear that it shouldn't be held on to.

Metadata

Metadata

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions