Commit 9c50929
committed
Fix process hanging after tests complete with Playwright
- Add delayed auto-exit (2s) after cleanup completes
- Prevents Playwright event loops from keeping process alive
- Can be disabled with CODECEPT_DISABLE_AUTO_EXIT env var
- Uses unref() to allow natural exit if possible
- Respects existing exit handlers and exit codes1 parent 190ae7b commit 9c50929
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
985 | 997 | | |
986 | 998 | | |
987 | 999 | | |
| |||
0 commit comments