mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Use uv_loop.new_event_loop() to create loop if user doesnt supply one
This commit is contained in:
@@ -236,7 +236,7 @@ class App(DOMNode):
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
uvloop.install()
|
||||
asyncio.set_event_loop(uvloop.new_event_loop())
|
||||
|
||||
event_loop = asyncio.get_event_loop()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user