mirror of
https://github.com/rubyjs/mini_racer
synced 2023-03-27 23:21:28 -04:00
![]() When raising ScriptTerminatedError due to timeout, MaybeLocal could be empty and would core dump upon calling .ToLocalChecked. Avoid that by checking MaybeLocal::IsEmpty before calling ToLocalChecked and clearing the evalRes.executed flag so we enter the exception handling branch below. |
||
---|---|---|
.. | ||
support | ||
file.js | ||
function_test.rb | ||
mini_racer_test.rb | ||
test_crash.rb | ||
test_forking.rb | ||
test_helper.rb | ||
test_leak.rb |