kevin 4 лет назад
Родитель
Сommit
a50bcb90a6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/proc/shutdown.go

+ 1 - 1
core/proc/shutdown.go

@@ -32,7 +32,7 @@ func AddWrapUpListener(fn func()) (waitForCalled func()) {
 	return wrapUpListeners.addListener(fn)
 }
 
-func SetTimeoutToForceQuit(duration time.Duration) {
+func SetTimeToForceQuit(duration time.Duration) {
 	delayTimeBeforeForceQuit = duration
 }