소스 검색

Go runtime waitgroup error fix

Mohammed Nafees 4 년 전
부모
커밋
3b2838393d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      internal/integrations/buildpacks/api_go.go

+ 2 - 0
internal/integrations/buildpacks/api_go.go

@@ -37,6 +37,7 @@ func (runtime *apiGoRuntime) detectMod(results chan struct {
 			bool
 		}{mod, false}
 	}
+	runtime.wg.Done()
 }
 
 func (runtime *apiGoRuntime) detectDep(results chan struct {
@@ -67,6 +68,7 @@ func (runtime *apiGoRuntime) detectDep(results chan struct {
 			bool
 		}{dep, false}
 	}
+	runtime.wg.Done()
 }
 
 func (runtime *apiGoRuntime) Detect(