소스 검색

fix bug that proc.SetTimeToForceQuit not working in windows (#869)

Kevin Wan 3 년 전
부모
커밋
6793f7a1de
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      core/proc/shutdown+polyfill.go
  2. 1 1
      tools/goctl/goctl.go

+ 1 - 1
core/proc/shutdown+polyfill.go

@@ -14,5 +14,5 @@ func AddWrapUpListener(fn func()) func() {
 	return fn
 }
 
-func SetTimeoutToForceQuit(duration time.Duration) {
+func SetTimeToForceQuit(duration time.Duration) {
 }

+ 1 - 1
tools/goctl/goctl.go

@@ -32,7 +32,7 @@ import (
 )
 
 var (
-	buildVersion = "1.1.9-pre"
+	buildVersion = "1.2.0"
 	commands     = []cli.Command{
 		{
 			Name:   "upgrade",