Add missing call to cleanup()
This commit is contained in:
parent
a7ed90e4b6
commit
8d4b0b34dd
1 changed files with 1 additions and 0 deletions
|
|
@ -612,6 +612,7 @@ proc execTask*(scriptName, taskName: string,
|
||||||
if prc.isNil:
|
if prc.isNil:
|
||||||
# Procedure not defined in the NimScript module.
|
# Procedure not defined in the NimScript module.
|
||||||
result.success = false
|
result.success = false
|
||||||
|
cleanup()
|
||||||
return
|
return
|
||||||
when finalApi:
|
when finalApi:
|
||||||
discard vm.execProc(PCtx(graph.vm), prc, [])
|
discard vm.execProc(PCtx(graph.vm), prc, [])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue