Unverified Commit 0e576740 authored by Jichan's avatar Jichan Committed by Anna Henningsen
Browse files

src: fix what a dispose without checking

If created platform with CreatePlatform, the crash occurs because
it does not check if it was initialized to v8_platform
when DisposePlatform was called.

Refs: https://github.com/nodejs/node/pull/31260


Co-authored-by: default avatarAnna Henningsen <anna@addaleax.net>
PR-URL: https://github.com/nodejs/node/pull/30467


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarGireesh Punathil <gpunathi@in.ibm.com>
parent 887b6a14
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment