Avoid complications in cases where we start a syndicate actor as part of another application
This commit is contained in:
parent
6dcac58377
commit
2b5a0cdf02
|
@ -550,4 +550,8 @@ def __boot_inert():
|
|||
_inert_ref = Turn.active.ref(_inert_entity)
|
||||
async def __run_inert():
|
||||
Actor(__boot_inert, name = '_inert_actor')
|
||||
asyncio.get_event_loop().run_until_complete(__run_inert())
|
||||
def __setup_inert():
|
||||
loop = asyncio.new_event_loop()
|
||||
loop.run_until_complete(__run_inert())
|
||||
loop.close()
|
||||
__setup_inert()
|
||||
|
|
Loading…
Reference in New Issue