vendor: Update everything

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4620
This commit is contained in:
Jakob Borg
2017-12-29 11:38:00 +00:00
parent 1296a22069
commit c24bf7ea55
1070 changed files with 294926 additions and 488191 deletions

View File

@@ -14,7 +14,8 @@ type listServices struct {
func (ls listServices) isSupervisorMessage() {}
type removeService struct {
id serviceID
id serviceID
notification chan struct{}
}
func (rs removeService) isSupervisorMessage() {}
@@ -59,17 +60,6 @@ type addService struct {
func (as addService) isSupervisorMessage() {}
// Stop stops the Supervisor.
//
// This function will not return until either all Services have stopped, or
// they timeout after the timeout value given to the Supervisor at creation.
func (s *Supervisor) Stop() {
done := make(chan struct{})
if s.sendControl(stopSupervisor{done}) {
<-done
}
}
type stopSupervisor struct {
done chan struct{}
}