1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-21 12:16:54 +02:00

Merge pull request #597 from jamiebrynes7/bugfix/fix-crash-on-exit

Fix crash on exit
This commit is contained in:
Dawid Dziurla 2020-01-16 07:38:25 +01:00 committed by GitHub
commit 466e0be560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -880,7 +880,9 @@ func (gui *Gui) RunWithSubprocesses() error {
}
}
if !gui.fileWatcher.Disabled {
gui.fileWatcher.Watcher.Close()
}
break
} else if err == gui.Errors.ErrSwitchRepo {