vm now free of global variables
This commit is contained in:
parent
5d45e630c5
commit
382bc34f93
4 changed files with 12 additions and 17 deletions
|
|
@ -438,7 +438,7 @@ proc execCmd(cmd: string; graph: ModuleGraph; cache: IdentCache; cachedMsgs: Cac
|
|||
proc recompileFullProject(graph: ModuleGraph; cache: IdentCache) =
|
||||
#echo "recompiling full project"
|
||||
resetSystemArtifacts(graph)
|
||||
vm.globalCtx = nil
|
||||
graph.vm = nil
|
||||
graph.resetAllModules()
|
||||
GC_fullcollect()
|
||||
compileProject(graph, cache)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue