mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-23 12:18:51 +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()
|
gui.fileWatcher.Watcher.Close()
|
||||||
|
}
|
||||||
|
|
||||||
break
|
break
|
||||||
} else if err == gui.Errors.ErrSwitchRepo {
|
} else if err == gui.Errors.ErrSwitchRepo {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user