mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
remove mutex lock that caused deadlock
This commit is contained in:
parent
464d022a86
commit
32d170621c
3
vendor/github.com/jesseduffield/gocui/gui.go
generated
vendored
3
vendor/github.com/jesseduffield/gocui/gui.go
generated
vendored
|
|
@ -280,9 +280,6 @@ func (g *Gui) SetView(name string, x0, y0, x1, y1 int, overlaps byte) (*View, er
|
|||
|
||||
// SetViewBeneath sets a view stacked beneath another view
|
||||
func (g *Gui) SetViewBeneath(name string, aboveViewName string, height int) (*View, error) {
|
||||
g.Mutexes.ViewsMutex.Lock()
|
||||
defer g.Mutexes.ViewsMutex.Unlock()
|
||||
|
||||
aboveView, err := g.View(aboveViewName)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Reference in a new issue