Skip to content

Commit a021193

Browse files
committed
fix warning
1 parent 29affcc commit a021193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idom/backend/flask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ async def main() -> None:
238238
recv_coro,
239239
)
240240

241-
main_future = asyncio.ensure_future(main())
241+
main_future = asyncio.ensure_future(main(), loop=loop)
242242

243243
dispatch_thread_info_ref.current = _DispatcherThreadInfo(
244244
dispatch_loop=loop,

0 commit comments

Comments
 (0)