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:
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…
x
Reference in New Issue
Block a user