瀏覽代碼

chore: fix missing funcs on windows (#2825)

Kevin Wan 2 年之前
父節點
當前提交
35b9568657
共有 1 個文件被更改,包括 9 次插入0 次删除
  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() {
+}