mirror of https://github.com/pulumi/pulumi.git
91af1a93c4
_sync_await was not reentrant with respect to _run_once: the latter captures the length of the ready list before it iterates it, and the former drains the ready list by reentering _run_once. Fix this by tracking the length of the list before pumping the event loop and then pushing cancelled handles on to the list as necessary after pumping the loop. These changes also fix an issue with `export`ing awaitables. Fixes #3038. |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
test_invoke_future.py |