fix: race in node pool object cleanup

This commit is contained in:
Vikram Rangnekar
2020-06-08 19:28:22 -04:00
parent 6716b97a39
commit f4f6420a30
6 changed files with 155 additions and 180 deletions

View File

@ -220,10 +220,8 @@ func (co *Compiler) compileQueryWithMetadata(
}
if len(sel.Args) != 0 {
i := 0
for _, v := range sel.Args {
qcode.FreeNode(v, 500)
i++
qcode.FreeNode(v)
}
}
}