Bladeren bron

chore: fix missing funcs on windows (#2825)

Kevin Wan 2 jaren geleden
bovenliggende
commit
35b9568657
1 gewijzigde bestanden met toevoegingen van 9 en 0 verwijderingen
  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
 	return fn
 }
 }
 
 
+// SetTimeToForceQuit does nothing on windows.
 func SetTimeToForceQuit(duration time.Duration) {
 func SetTimeToForceQuit(duration time.Duration) {
 }
 }
+
+// Shutdown does nothing on windows.
+func Shutdown() {
+}
+
+// WrapUp does nothing on windows.
+func WrapUp() {
+}