playwright/packages/playwright-core/src
Dmitry Gozman 4c8912f74e
chore: remove separate process that cleans up directories (#24376)
A separate process is `spawnSync`'ed on process exit to cleanup
temporary directories, introduced in #13769 that followed up after
#13343.

A separate process might stall for various fs-related issues, which
prevents the original process from exiting.

With the recent changes, we always gracefully close and cleanup after
all launched executables before calling `process.exit()`, and so it
should only be possible to leave temp directories when using Playwright
and calling `process.exit()` programmatically without closing browsers.

We can now drop the extra process and rely on `rimraf.sync` for
last-resort cleanup in these rare circumstances.
2023-07-24 15:24:29 -07:00
..
cli chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00
client chore: rename ScopedRace to LongStandingScope, preserve Error instance in reject() (#24361) 2023-07-23 21:00:07 -07:00
common fix(pause): revert timeouts after pause (#23578) 2023-06-07 12:30:10 -07:00
image_tools fix(ssim-cie94): make sure a single off pixel yields diff in comparator (#24348) 2023-07-21 12:27:52 -07:00
protocol feat(electron): support tracesDir option (#23947) 2023-06-28 16:32:16 -07:00
remote chore: add Playwright to attribution (#23447) 2023-06-01 17:54:43 -07:00
server feat: add screen definitions for ipad gen 5 (#24355) 2023-07-24 14:57:12 -07:00
third_party chore: remove experimental dockerfile.remote (#20790) 2023-02-09 12:18:02 -08:00
utils chore: remove separate process that cleans up directories (#24376) 2023-07-24 15:24:29 -07:00
androidServerImpl.ts chore: add Playwright to attribution (#23447) 2023-06-01 17:54:43 -07:00
browserServerImpl.ts chore: add Playwright to attribution (#23447) 2023-06-01 17:54:43 -07:00
DEPS.list feat(android): add Android.{launchServer,connect} (#18263) 2022-10-24 17:23:11 -07:00
inprocess.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
inProcessFactory.ts chore: propagate client-side instrumentation across connect (#23524) 2023-06-05 12:28:20 -07:00
outofprocess.ts chore: propagate client-side instrumentation across connect (#23524) 2023-06-05 12:28:20 -07:00
utilsBundle.ts chore: update rimraf package to version 4 to eliminate "promisify" (#24190) 2023-07-18 19:58:07 +02:00
zipBundle.ts chore(har): allow replaying from zip har (#14962) 2022-06-17 16:11:22 -07:00