You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(Playwright): Properly clean up event listeners to prevent hanging
- Remove all page event listeners (crash, dialog, load, console, requestfinished) in _setPage
- Remove all browser event listeners in _stopBrowser before closing
- Add error handling for listener cleanup to prevent failures
- Wrap browser.close() and browserContext.close() in try-catch blocks
This should help prevent the Node.js event loop from staying alive due to
uncleaned event listeners, though additional investigation may be needed
for complete resolution of process hanging after tests complete.
0 commit comments