1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-07 22:02:56 +03:00

restore some code that was erroneously removed

This commit is contained in:
Jesse Duffield
2021-11-07 11:16:17 +11:00
parent 1d40d03bb2
commit 5d12a6bf99

View File

@@ -109,6 +109,10 @@ func (m *ViewBufferManager) NewCmdTask(start func() (*exec.Cmd, io.Reader), pref
m.Log.Errorf("error when running cmd task: %v", err) m.Log.Errorf("error when running cmd task: %v", err)
} }
} }
if onDone != nil {
onDone()
}
}) })
loadingMutex := sync.Mutex{} loadingMutex := sync.Mutex{}