You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
;; function* f(r){ return r }
initial_yield
get_arg0 0 ; r
return_async
The async stack frame at time of free looks like this: [r, undefined] (where slot 0 is arg 0); I suspect it should be [r, r] because then the ref counts would match up.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Refs: bellard/quickjs#394
r
's ref count in async_func_free is 2, not 1.f
's bytecode looks like this:The async stack frame at time of free looks like this:
[r, undefined]
(where slot 0 is arg 0); I suspect it should be[r, r]
because then the ref counts would match up.The text was updated successfully, but these errors were encountered: