Browse Source

chore: fix missing funcs on windows (#2825)

Kevin Wan 2 years ago
parent
commit
35b9568657
1 changed files with 9 additions and 0 deletions
  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() {
+}