Skip to content

Commit 2718c24

Browse files
authored
fix: use Process.wait() to prevent zombie processes of the V compiler (#164)
1 parent 0f963ca commit 2718c24

File tree

1 file changed

+1
-0
lines changed
  • src/server/inspections/compiler

1 file changed

+1
-0
lines changed

src/server/inspections/compiler/utils.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ fn exec_compiler_diagnostics(compiler_path string, uri lsp.DocumentUri) ?[]inspe
7070
p.set_redirect_stdio()
7171

7272
defer {
73+
p.wait()
7374
p.close()
7475
}
7576
p.run()

0 commit comments

Comments
 (0)