mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
This commit is contained in:
parent
b50039a920
commit
43a5be1c4b
@ -1568,6 +1568,10 @@ func (f *sendReceiveFolder) finisherRoutine(in <-chan *sharedPullerState, dbUpda
|
|||||||
blockStatsMut.Unlock()
|
blockStatsMut.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if f.model.progressEmitter != nil {
|
||||||
|
f.model.progressEmitter.Deregister(state)
|
||||||
|
}
|
||||||
|
|
||||||
events.Default.Log(events.ItemFinished, map[string]interface{}{
|
events.Default.Log(events.ItemFinished, map[string]interface{}{
|
||||||
"folder": f.folderID,
|
"folder": f.folderID,
|
||||||
"item": state.file.Name,
|
"item": state.file.Name,
|
||||||
@ -1575,10 +1579,6 @@ func (f *sendReceiveFolder) finisherRoutine(in <-chan *sharedPullerState, dbUpda
|
|||||||
"type": "file",
|
"type": "file",
|
||||||
"action": "update",
|
"action": "update",
|
||||||
})
|
})
|
||||||
|
|
||||||
if f.model.progressEmitter != nil {
|
|
||||||
f.model.progressEmitter.Deregister(state)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user