Skip to content

Commit 343e323

Browse files
committed
fix: provider loop instantiating on start
1 parent b14999b commit 343e323

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phf/provider.py

+1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ def start(self) -> None:
150150
"""Start the provider."""
151151
self._asyncio_running = True
152152
self._asyncio_task = asyncio.create_task(self.cycle())
153+
self._asyncio_loop = asyncio.get_event_loop()
153154

154155
# TODO better stop
155156
def stop(self):

0 commit comments

Comments
 (0)