1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-20 05:19:24 +02:00

Call Then function only after everything is done

I'm actually surprised how this could even have worked before.
This commit is contained in:
Stefan Haller 2023-08-22 12:08:41 +02:00
parent d74c817fd8
commit c718a73d0a

View File

@ -178,11 +178,11 @@ func (self *RefreshHelper) Refresh(options types.RefreshOptions) error {
self.refreshStatus()
wg.Wait()
if options.Then != nil {
options.Then()
}
wg.Wait()
}
if options.Mode == types.BLOCK_UI {