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:
commit
466e0be560
@ -880,7 +880,9 @@ func (gui *Gui) RunWithSubprocesses() error {
|
||||
}
|
||||
}
|
||||
|
||||
if !gui.fileWatcher.Disabled {
|
||||
gui.fileWatcher.Watcher.Close()
|
||||
}
|
||||
|
||||
break
|
||||
} else if err == gui.Errors.ErrSwitchRepo {
|
||||
|
Loading…
x
Reference in New Issue
Block a user