Merge pull request #512 from LemonBoy/cleaner-cleanup

Add missing call to cleanup()
This commit is contained in:
Dominik Picheta 2018-07-13 16:22:00 +01:00 committed by GitHub
commit 682a444748
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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, [])