mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
do not put mutexes on state else we might unlock an unlocked mutex
This commit is contained in:
@ -113,6 +113,8 @@ type Gui struct {
|
||||
// or the events we've recorded in a prior session
|
||||
RecordedEvents []RecordedEvent
|
||||
StartTime time.Time
|
||||
|
||||
Mutexes guiStateMutexes
|
||||
}
|
||||
|
||||
type RecordedEvent struct {
|
||||
@ -318,7 +320,6 @@ type guiState struct {
|
||||
SplitMainPanel bool
|
||||
RetainOriginalDir bool
|
||||
IsRefreshingFiles bool
|
||||
Mutexes guiStateMutexes
|
||||
Searching searchingState
|
||||
ScreenMode int
|
||||
SideView *gocui.View
|
||||
|
Reference in New Issue
Block a user