update
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user