Commit afe026a
fix: Use Isolate::TryGetCurrent()
Isolate::GetCurrent() is not supposed to return null; if there is no
current isolate it's supposed to crash. Since we are checking for null
right after, I think we want TryGetCurrent() here.1 parent cd1d285 commit afe026a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| |||
0 commit comments