Open qwenger opened 2 years ago
>>> import quickjs >>> ctx = quickjs.Context() >>> def test(): ... raise Exception ... >>> ctx.add_callable("test", test) >>> ctx.eval("async function a() {await test()}") >>> ctx.eval("a()") Segmentation fault (core dumped)
This happens when attempting to create a return Object after a Python exception was set in JS_Eval.
Object
JS_Eval