Skip to content

Commit 53d195f

Browse files
committed
fixup! Instantiate Mutexes's fields by value
1 parent 00347f5 commit 53d195f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/gui/types/common.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,6 @@ type Model struct {
313313
HashPool *utils.StringPool
314314
}
315315

316-
// if you add a new mutex here be sure to instantiate it. We're using pointers to
317-
// mutexes so that we can pass the mutexes to controllers.
318316
type Mutexes struct {
319317
RefreshingFilesMutex deadlock.Mutex
320318
RefreshingBranchesMutex deadlock.Mutex

0 commit comments

Comments
 (0)