fix: prevent memory leaks by ensuring proper closure of Playwright pages

- Fixes critical memory leak issue where browser pages remained open
- Ensures proper cleanup of Playwright resources after page operations
- Improves resource management in browser farm implementation

This is an urgent fix to address resource leakage that could impact system stability.
This commit is contained in:
UncleCode
2025-01-03 21:17:23 +08:00
parent 24b3da717a
commit 196dc79ec7
2 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View File

@@ -225,3 +225,4 @@ tree.md
.scripts
.local
.do
/plans