diff --git a/core/proc/shutdown+polyfill.go b/core/proc/shutdown+polyfill.go index 58752a835ddc..c8ef0000f5ed 100644 --- a/core/proc/shutdown+polyfill.go +++ b/core/proc/shutdown+polyfill.go @@ -4,6 +4,9 @@ package proc import "time" + +type ShutdownConf {} + // AddShutdownListener returns fn itself on windows, lets callers call fn on their own. func AddShutdownListener(fn func()) func() { return fn @@ -18,6 +21,10 @@ func AddWrapUpListener(fn func()) func() { func SetTimeToForceQuit(duration time.Duration) { } +// Setup does nothing on windows. +func Setup() { +} + // Shutdown does nothing on windows. func Shutdown() { }