lib/folder: Clear pull errors when nothing is needed anymore (#7093)

This commit is contained in:
Simon Frei
2020-11-06 14:22:20 +01:00
committed by GitHub
parent a08a1b6998
commit cc9ea9db89
3 changed files with 41 additions and 40 deletions
-1
View File
@@ -96,7 +96,6 @@ func setupSendReceiveFolder(files ...protocol.FileInfo) (*model, *sendReceiveFol
model := setupModel(w)
model.Supervisor.Stop()
f := model.folderRunners[fcfg.ID].(*sendReceiveFolder)
f.pullErrors = make(map[string]string)
f.tempPullErrors = make(map[string]string)
f.ctx = context.Background()