mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-21 16:27:12 +09:00
backup: Clear the requested backup upon completion notification
Now the main go routine takes care of the backup synchronization.
This commit is contained in:
@@ -489,6 +489,8 @@ func DoEvent() {
|
||||
}
|
||||
case f := <-timerChan:
|
||||
f()
|
||||
case b := <-buffer.BackupCompleteChan:
|
||||
b.RequestedBackup = false
|
||||
case <-sighup:
|
||||
exit(0)
|
||||
case <-util.Sigterm:
|
||||
|
||||
Reference in New Issue
Block a user