Commit a28c990
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.
Backport-PR-URL: #35241
Refs: #31260
Co-authored-by: Anna Henningsen <anna@addaleax.net>
PR-URL: #30467
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>1 parent 2f8f767 commit a28c990Copy full SHA for a28c990
File tree
Expand file treeCollapse file tree
1 file changed
+9
-0
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+9
-0
lines changedOpen diff view settings
Collapse file
+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
| 15 | + |
15 | 16 | |
16 | 17 | |
17 | 18 | |
| ||
79 | 80 | |
80 | 81 | |
81 | 82 | |
| 83 | + |
| 84 | + |
82 | 85 | |
83 | 86 | |
| 87 | + |
| 88 | + |
84 | 89 | |
85 | 90 | |
86 | 91 | |
| ||
99 | 104 | |
100 | 105 | |
101 | 106 | |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
102 | 111 | |
103 | 112 | |
104 | 113 | |
|
0 commit comments