mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-17 22:32:58 +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()
|
self.refreshStatus()
|
||||||
|
|
||||||
|
wg.Wait()
|
||||||
|
|
||||||
if options.Then != nil {
|
if options.Then != nil {
|
||||||
options.Then()
|
options.Then()
|
||||||
}
|
}
|
||||||
|
|
||||||
wg.Wait()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if options.Mode == types.BLOCK_UI {
|
if options.Mode == types.BLOCK_UI {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user