mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-17 21:18:31 +02:00
remove mutex lock that caused deadlock
This commit is contained in:
parent
c7e23952c7
commit
1411b70a85
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…
x
Reference in New Issue
Block a user