Commit dd9b9e66 authored by Sebastian Biewer's avatar Sebastian Biewer
Browse files

Fixes Redmine 260, 261

parent ff7d977a
......@@ -154,6 +154,8 @@ class PCCProcedure extends PC.Procedure
args.unshift(i) # Basically, here we replace 'starter' with the instance number of the new agent
compiler.emitProcessApplication(@getProcessName(), args)
if @.returnType.kind != PC.Type.VOID
compiler.emitInput("rreturn", null, new PCCVariableContainer("$0"))
compiler.emitOutput("agent_terminate", i, null)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment