Drop runtime logging for asyncio mode

infect_asyncio
Tyler Goodlet 2021-11-07 16:44:41 -05:00
parent 446feff172
commit 06fa650ed0
1 changed files with 3 additions and 3 deletions

View File

@ -220,7 +220,9 @@ async def open_channel_from(
def run_as_asyncio_guest(
trio_main: Callable,
) -> None:
'''
Entry for an "infected ``asyncio`` actor".
@ -243,8 +245,6 @@ def run_as_asyncio_guest(
# import signal
# signal.signal(signal.SIGINT, signal.SIG_IGN)
get_console_log('runtime')
async def aio_main(trio_main):
loop = asyncio.get_running_loop()
@ -273,4 +273,4 @@ def run_as_asyncio_guest(
except ImportError:
pass
asyncio.run(aio_main(trio_main))
return asyncio.run(aio_main(trio_main))