From 35b9568657b4091758f5d5304917b47a5e484409 Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Sat, 28 Jan 2023 22:45:36 +0800 Subject: [PATCH] chore: fix missing funcs on windows (#2825) --- core/proc/shutdown+polyfill.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/proc/shutdown+polyfill.go b/core/proc/shutdown+polyfill.go index c9d300fa..3d5e135c 100644 --- a/core/proc/shutdown+polyfill.go +++ b/core/proc/shutdown+polyfill.go @@ -15,5 +15,14 @@ func AddWrapUpListener(fn func()) func() { return fn } +// SetTimeToForceQuit does nothing on windows. func SetTimeToForceQuit(duration time.Duration) { } + +// Shutdown does nothing on windows. +func Shutdown() { +} + +// WrapUp does nothing on windows. +func WrapUp() { +}