Skip to content

Commit 97f22b9

Browse files
committed
Remove segfaults
1 parent 0552591 commit 97f22b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nimsuggest/nimsuggest.nim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import compiler/renderer
1111
import strformat
1212
import tables
1313
import std/sha1
14-
import segfaults
1514
import times
1615

1716
## Nimsuggest is a tool that helps to give editors IDE like capabilities.
@@ -499,8 +498,8 @@ proc recompileFullProject(graph: ModuleGraph) =
499498
graph.resetForBackend()
500499
graph.resetSystemArtifacts()
501500
graph.vm = nil
502-
GC_fullCollect()
503501
graph.resetAllModules()
502+
GC_fullCollect()
504503
graph.compileProject()
505504

506505
proc mainThread(graph: ModuleGraph) =

0 commit comments

Comments
 (0)