mirror of
https://github.com/electron/electron.git
synced 2026-01-22 22:08:14 -05:00
fix: javascript heap oom is not raised in node::OOMErrorHandler node::OOMErrorHandler terminates the process directly without raising an oom exception. To fix it, set an oom handler into node from electron. Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Yang Liu <ouyangliu.leo@gmail.com>