This commit is contained in:
2026-08-07 17:48:50 +07:00
parent 131973edd4
commit 8e356f06bc
+1 -1
View File
@@ -117,7 +117,7 @@ julia> stop_agent(agent)
function stop_agent(agent::yiemAgent)
put!(agent.inputChannel, :shutdown)
try
fetch(agent._task)
fetch(agent._agent_loop)
catch e
if e isa TaskFailedException
rethrow(e)