diff --git a/build.sh b/build.sh index 4ccdc87..7fad1f3 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ set -e -VERSION="1.2.0" +VERSION="1.2.1" PROTECTED_MODE="no" export GO15VENDOREXPERIMENT=1 diff --git a/cmd/triangle/main.go b/cmd/triangle/main.go index e11b9fa..e8daa37 100644 --- a/cmd/triangle/main.go +++ b/cmd/triangle/main.go @@ -176,6 +176,7 @@ func main() { }() } + // close the channel after the values flowing through the channel are consumed. go func() { defer close(ch) wg.Wait()