diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-05 09:12:13 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 32d170621c550e6cd8714b78bb2a01236724e850 (patch) | |
tree | 099cdb3d4e737b3a889ce383a181440bfcab414b /vendor/github.com/jesseduffield/gocui/gui.go | |
parent | 464d022a8661a66703c4b219bdcf431a5428120b (diff) |
remove mutex lock that caused deadlock
Diffstat (limited to 'vendor/github.com/jesseduffield/gocui/gui.go')
-rw-r--r-- | vendor/github.com/jesseduffield/gocui/gui.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vendor/github.com/jesseduffield/gocui/gui.go b/vendor/github.com/jesseduffield/gocui/gui.go index 704f744bb..0fd89fbb5 100644 --- a/vendor/github.com/jesseduffield/gocui/gui.go +++ b/vendor/github.com/jesseduffield/gocui/gui.go @@ -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 |