mirror of
https://github.com/allenai/olmocr.git
synced 2025-11-02 11:04:25 +00:00
Hmm
This commit is contained in:
parent
4e77ecac3f
commit
97db9cdfb1
@ -161,7 +161,7 @@ _thread_local = threading.local()
|
||||
|
||||
|
||||
def _cleanup_playwright(playwright, browser):
|
||||
print(f"Cleaning up playwright context on {threading.get_ident()} native id {threading.get_native_id()}, on PID {os.getpid()}, {threading.active_count()} active threads")
|
||||
# print(f"Cleaning up playwright context on {threading.get_ident()} native id {threading.get_native_id()}, on PID {os.getpid()}, {threading.active_count()} active threads")
|
||||
|
||||
try:
|
||||
browser.close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user