Explorar o código

close error channel

Mohammed Nafees %!s(int64=3) %!d(string=hai) anos
pai
achega
e19b2e4a1e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      api/server/handlers/webhook/github_incoming.go

+ 1 - 0
api/server/handlers/webhook/github_incoming.go

@@ -220,6 +220,7 @@ func (c *GithubIncomingWebhookHandler) processPullRequestEvent(event *github.Pul
 			}
 
 			wg.Wait()
+			close(errChan)
 
 			chanErr := fmt.Errorf("")