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