mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-12 00:26:24 -04: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:
parent
d74c817fd8
commit
c718a73d0a
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue