Commit 33bbfa5
committed
Avoid calling writeStackCookie to early in worker.js
When running a worker we don't want to write the stack cookie until the
worker is actually running a pthread. This is done in
`establishStackSpace`.
For this reason we don't want to run `writeStackCookie` during
`run` (which is used only to initiialize the worker, before its
running a thread).1 parent 1bb6a3a commit 33bbfa5
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | 242 | | |
247 | 243 | | |
248 | 244 | | |
| |||
287 | 283 | | |
288 | 284 | | |
289 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | 378 | | |
382 | 379 | | |
383 | 380 | | |
| |||
396 | 393 | | |
397 | 394 | | |
398 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| |||
0 commit comments