Update loop.py

This commit is contained in:
Nuno Campos
2024-07-19 18:15:54 -07:00
committed by GitHub
parent 375d9a45d9
commit afe3905958
+1 -1
View File
@@ -465,7 +465,7 @@ class AsyncPregelLoop(PregelLoop, AsyncContextManager):
if not self.is_nested:
# in outer graph, catch interrupt
del self.graph
return True and await asyncio.shield(
return True or await asyncio.shield(
self.stack.__aexit__(None, None, None)
)