Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Crash When Disposing ScriptPromise instance. #45

Open
@jo32

Description

@jo32

I wrote some code like:

var promise = new TypedScriptPromise<JSValue>(sc);
System.Action<object> callback = (object o) => {
    promise.Resolve(JSApi.JS_NULL);
};

and it crashed on this line:
https://github.com/ialex32x/unity-jsb/blob/master/Assets/jsb/Source/ScriptRuntime.cs#L611

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions