Repository navigation
Commit f21db6f
authored
fix(worker): consult the termination-requested flag at the last two failure sites
The CommonJS module-function call and the ES module Evaluate failure only
recognized a termination V8 had already materialized. A request that landed
during the call, before any JS ran to materialize it, let an ordinary failure
be formatted as an error on a terminating isolate. Both sites now read the
same three signals as the settle pump and the require path.1 parent 7427288 commit f21db6f
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
897 | | - | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
898 | 900 | | |
899 | 901 | | |
900 | 902 | | |
| |||
1295 | 1297 | | |
1296 | 1298 | | |
1297 | 1299 | | |
1298 | | - | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
1299 | 1303 | | |
1300 | 1304 | | |
1301 | 1305 | | |
| |||
0 commit comments