Skip to content

Commit 979617c

Browse files
committed
Remove asyncio.set_event_loop call
1 parent 97717e9 commit 979617c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scrapy_playwright/_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ def start(cls, caller_id: int) -> None:
142142
if platform.system() == "Windows":
143143
policy = asyncio.WindowsProactorEventLoopPolicy() # type: ignore[attr-defined]
144144
cls._loop = policy.new_event_loop()
145-
asyncio.set_event_loop(cls._loop)
146145

147146
if not getattr(cls, "_thread", None):
148147
cls._thread = threading.Thread(target=cls._loop.run_forever, daemon=True)

0 commit comments

Comments
 (0)