Explorar o código

chore: fix missing funcs on windows (#2825)

Kevin Wan %!s(int64=2) %!d(string=hai) anos
pai
achega
35b9568657
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      core/proc/shutdown+polyfill.go

+ 9 - 0
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() {
+}