ソースを参照

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",