mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-12 04:37:51 +02:00
Update loop.py
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user