Browse Source

rename function

kevin 4 years ago
parent
commit
a50bcb90a6
1 changed files with 1 additions and 1 deletions
  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
 }