diff options
Diffstat (limited to 'lib/model/folder_recvonly_test.go')
-rw-r--r-- | lib/model/folder_recvonly_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/model/folder_recvonly_test.go b/lib/model/folder_recvonly_test.go index b32f6dd339..83c2bcd151 100644 --- a/lib/model/folder_recvonly_test.go +++ b/lib/model/folder_recvonly_test.go @@ -535,8 +535,8 @@ func setupROFolder(t *testing.T) (*testModel, *receiveOnlyFolder, context.Cancel <-m.started must(t, m.ScanFolder("ro")) - m.fmut.RLock() - defer m.fmut.RUnlock() + m.mut.RLock() + defer m.mut.RUnlock() r, _ := m.folderRunners.Get("ro") f := r.(*receiveOnlyFolder) |