From 6793f7a1de1b4f54cd9bc9525463d7e441086fb8 Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Wed, 4 Aug 2021 11:31:33 +0800 Subject: [PATCH] fix bug that proc.SetTimeToForceQuit not working in windows (#869) --- core/proc/shutdown+polyfill.go | 2 +- tools/goctl/goctl.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/proc/shutdown+polyfill.go b/core/proc/shutdown+polyfill.go index 13a48c44..8820fdb8 100644 --- a/core/proc/shutdown+polyfill.go +++ b/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) { } diff --git a/tools/goctl/goctl.go b/tools/goctl/goctl.go index 8355d2a8..506226ab 100644 --- a/tools/goctl/goctl.go +++ b/tools/goctl/goctl.go @@ -32,7 +32,7 @@ import ( ) var ( - buildVersion = "1.1.9-pre" + buildVersion = "1.2.0" commands = []cli.Command{ { Name: "upgrade",